From: | Dave Page <dpage(at)vale-housing(dot)co(dot)uk> |
---|---|
To: | 'Camila Rocha' <camilarrocha(at)hotmail(dot)com>, pgadmin-support(at)postgresql(dot)org |
Subject: | Re: data types oid and oidvector |
Date: | 2002-04-10 08:00:54 |
Message-ID: | FED2B709E3270E4B903EB0175A49BCB129336A@dogbert.vale-housing.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
It's not a good idea to use oid's as foreign keys as they may change if you
dump/reload your database. For this reason, I think PostgreSQL disallows the
use of them.
iirc, the oidvector column is an array of oid's type. You should look in the
PostgreSQL manuals (in the pgAdmin helpfile) for more details, if not, try a
post to pgsql-general(at)postgresql(dot)org <mailto:pgsql-general(at)postgresql(dot)org> .
Regards, Dave.
-----Original Message-----
From: Camila Rocha [mailto:camilarrocha(at)hotmail(dot)com]
Sent: 09 April 2002 20:45
To: pgadmin-support(at)postgresql(dot)org
Subject: [pgadmin-support] data types oid and oidvector
hey!
i wanted to know if there's a way to use the column oid (which is present in
every table) as a foreign key in another table. I tried, but i couldn't do
it.
and what about the type oidvector?? where can i find more information about
it? i want to put in it another objetc's oids.
thanks!
Camila
GO/Brazil
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2002-04-10 08:03:10 | Re: null rows - importing a table with |
Previous Message | fnievinski2 | 2002-04-09 20:16:14 | null rows - importing a table with |