Some of the records contain emails and some do not. I am not allowed to have null values in the email column. For whatever reason, the client has chosen to use the email as a primary key, so, for those records that have no email, I need them to populate with firstname.lastname@example.org, but in sequence so that each email is unique (i.e. email@example.com, firstname.lastname@example.org, etc.). Is there a way to do this in Postgres ?
"Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
"I have my standards. They may be low, but I have them!" - Bette Middler
"It's a book about a Spanish guy named Manual. You should read it." - Dilbert