Thread: Create artificial key without temp sequence

Create artificial key without temp sequence

From
Hannes Dorbath
Date:
I need to create an artificial key, something that numbers rows of a
record set. I used to use temp sequences for that, but as I'm inside
pl/pgsql, its OID cache constantly bites me. What other options are there?

Thanks in advance.


--
Regards,
Hannes Dorbath