Re: oid's in views.

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: "Aasmund Midttun Godal" <postgresql(at)envisity(dot)com>, josh(at)agliodbs(dot)com
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: oid's in views.
Date: 2001-10-19 22:38:16
Message-ID: web-151411@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Aasmund,

> I don't use them in indexes foreign keys etc., however they are very
> usefull when your application tries to edit/update individual rows,
> as the oid is like a universal primary key.

You'd still be better off defining your own SERIAL columns and/or
primary keys and using those. Some Trigger types require referencing
the OID, but that's about it.

-Josh

______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message chrup 2001-10-19 22:53:39 Re: Diferent databases on same query...
Previous Message Joel Burton 2001-10-19 20:34:26 Re: system maintained keys