Обсуждение: Create artificial key without temp sequence

Поиск
Список
Период
Сортировка

Create artificial key without temp sequence

От
Hannes Dorbath
Дата:
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