Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://oit.cmc.msu.ru/php/function.pg-getlastoid.html
Дата изменения: Sun Feb 3 22:53:06 2002 Дата индексирования: Mon Oct 1 21:49:51 2012 Кодировка: |
pg_getlastoid() is used to retrieve the oid assigned to an inserted tuple (record) if the result resource is used from the last command sent via pg_exec() and was an SQL INSERT. Returns a positive integer if there was a valid oid. It returns FALSE if an error occurs or the last command sent via pg_exec() was not an INSERT or INSERT is failed.
See also pg_exec().