Skip site navigation (1) Skip section navigation (2)

Use of column names as FK.

From: Anil Jangam <anilj(at)indts(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Use of column names as FK.
Date: 2001-12-20 05:02:50
Message-ID: F73B646FCC01D5118F530002B32C337263B26A@INDTS_FS (view raw or flat)
Thread:
Lists: pgsql-cygwin
Hi,

I a system table of pgSQL "pg_attribute", where the table and their
attributes (rather column names) are stored. Can we use the column (attname,
a column in the pg_attribute table: this contains the column names of all
the tables in the database) name as a FK?? But I am not sure if this is
valid, and allowed in the actual database design. For time being I shall
assume that we can go ahead with use of this system table.

regds,
-anil.

pgsql-cygwin by date

Next:From: Dave PageDate: 2001-12-20 08:22:55
Subject: Re: Use of column names as FK.
Previous:From: Henshall, Stuart - WCPDate: 2001-12-19 12:19:52
Subject: Re: Socket connection error...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group