Search Postgresql Archives

Re: foreign keys on multiple parent table

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

 



On Tuesday, June 20, 2023, Lorusso Domenico <domenico.l76@xxxxxxxxx> wrote:

Could work, but is there a way to set a reference key over the uuid of all the tables?

A foreign key in PostgreSQL is between two, and only two, tables.  The PK side of which must be uniquely constrained.

You can write custom triggers if you need something other than this.

David J.


[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 Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux