Search Postgresql Archives

Create artificial key without temp sequence

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux