Search Postgresql Archives

The scope of sequence

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

 



Dear All,

I've got a composite key in a table. The keys are ID and owner ID. The type of the ID should be a serial, additionally I hope the ID to be increasable per owner ID. ( The ID will be increased with the different owner ID) Does anyone know how to implement it? Thanks in advance.

Best regards,
Zhi-Qiang Lei
zhiqiang.lei@xxxxxxxxx


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[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