Search Postgresql Archives

Re: Array Values and References

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

 



Omachonu Ogali wrote:
I have a table that contains my unique identifiers and their
respective values. In another table, I have a field that is an
array of integers.

Is there a simple way for one to build a constraint that checks
each array value against the primary key table even though the
field types don't exactly match? (i.e. int vs int[])

A trigger perhaps?

Joe


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

[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