Re: Using meta-data for foreign key?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mike Blackwell <maiku41(at)sbcglobal(dot)net>
Cc: Erik Jones <erik(at)myemma(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Using meta-data for foreign key?
Date: 2008-04-17 16:44:33
Message-ID: 21470.1208450673@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mike Blackwell <maiku41(at)sbcglobal(dot)net> writes:
> My question, then, is if it considered acceptable practice to, instead
> of having field_name in the secondary table, have a foreign key
> reference back to the field definition in the meta-data.

If you mean a foreign key reference into the system catalogs, we don't
support that :-(

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2008-04-17 17:08:27 Re: problem with tsearch and utf-8 on postgresql 8.1
Previous Message Mike Blackwell 2008-04-17 16:32:28 Re: Using meta-data for foreign key?