| От | Karl DeBisschop |
|---|---|
| Тема | Re: [GENERAL] using Oids to retrieve a row |
| Дата | |
| Msg-id | 199903261632.LAA03496@skillet.infoplease.com обсуждение исходный текст |
| Ответ на | using Oids to retrieve a row ("David O'Farrell" <dave.ofarrell@aersoft.ie>) |
| Ответы |
Re: [GENERAL] using Oids to retrieve a row
|
| Список | pgsql-general |
are you doing this in psql?
Or perl, php, or some other?
perl and php both have methods for getting the oid of the last
inserted row (use "$oid = $sth->{'pg_oid_status'};"
in perl and "$oid = pg_GetLastOid($result_id);" in php )
Look at the php documentation, or do 'perldoc DBD::Pg'
to see more details.
I think the postgres documentation for PL/Tcl also
has a quick and simple way of doing what you want, but I can't seem to
find it now so I'm not sure about that.
Karl
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера