Hi,
I need to do an extremely simple thing, but I have not found any docs on 
this. All I want to do is print out the oid of the row I just SELECTed out 
of postgreSQL, using php.
I am aware of the pg_GetLastOid function, but that will only return the oid 
of the row that was last INSERTed, and won't work on any other statements. I 
also want to avoid adding an oid type column in the table.
Doing this under libpq is trivial, a 'SELECT oid from table' will do the 
job. The php postgreSQL module was most probably compiled using libpq, so 
this should be possible right?
Thanks,
Alex (master of the NIC's ;)
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to