FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » pg_last_oid() and postgresql-8.1
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
pg_last_oid() and postgresql-8.1 [message #36923] Tue, 17 April 2007 17:34 Go to previous message
buck is currently offline  buck   Switzerland
Messages: 1
Registered: April 2007
Karma:
Junior Member
Hi,
Quote:

OID field became an optional field from PostgreSQL 7.2 and will not be present by default in PostgreSQL 8.1

http://de3.php.net/manual/en/function.pg-last-oid.php

Therefore, f.e. index.php fails because of an error in the sql-query: "SELECT id FROM fud26_ses WHERE id=";

Possible solution: Use PostgreSQL function LASTVAL() as described in the manual linked above. LASTVAL() is available since PostgreSQL 8.1... good luck.

regards,
Patrik

[Updated on: Tue, 17 April 2007 17:36]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug on upgrading 2.7.6 => 2.7.7
Next Topic: Modifying Moderator Permissions
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 17:56:55 GMT 2024

Total time taken to generate the page: 0.05071 seconds