Ynt: OID's as Primary Keys - Mailing list pgsql-general

From Erol Öz
Subject Ynt: OID's as Primary Keys
Date
Msg-id 001b01c168f1$1300a160$0b00000a@doruk.www.doruk.net.tr
Whole thread Raw
List pgsql-general
>> I think that depends on the language you are using to do development.
>> For example, I happen to know that PyGreSQL (the Python interface I
>> use) returns the oid on when you use it's insert() method, and I think
>> that PHP can do this as well

Yes, see pg_getlastoid() function.

Regards
Erol Oz


pgsql-general by date:

Previous
From: Tielman J de Villiers
Date:
Subject: Re: PSQL anc compile errors
Next
From: Stuart Robinson
Date:
Subject: inserts on views using rules