Ynt: OID's as Primary Keys

Поиск
Список
Период
Сортировка
От Erol Öz
Тема Ynt: OID's as Primary Keys
Дата
Msg-id 001b01c168f1$1300a160$0b00000a@doruk.www.doruk.net.tr
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tielman J de Villiers
Дата:
Сообщение: Re: PSQL anc compile errors
Следующее
От: Stuart Robinson
Дата:
Сообщение: inserts on views using rules