Re: [INTERFACES] ecpg and getting just assigned serial number

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [INTERFACES] ecpg and getting just assigned serial number
Дата
Msg-id 17306.937341295@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [INTERFACES] ecpg and getting just assigned serial number  (Michael Meskes <meskes@postgreSQL.org>)
Список pgsql-interfaces
Michael Meskes <meskes@postgreSQL.org> writes:
> After an insert the backend returns the number of records inserted, but does
> it also return the OID or whatever? I'm not sure but since an insert could
> add more than one tuple I doubt that.

If just one record is inserted, then it returns the OID of that record.
        regards, tom lane


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: [INTERFACES] Transaction: Begin, Lock
Следующее
От: "Ken J. Wright"
Дата:
Сообщение: Re: [INTERFACES] firewall crashes backend