[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bug #15588] get_last_insert_id broken for Postgr

From: Sigurd Nes
Subject: [Phpgroupware-tracker] [bug #15588] get_last_insert_id broken for PostgreSQL 8.x
Date: Wed, 1 Feb 2006 12:20:40 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

Follow-up Comment #2, bug #15588 (project phpgroupware):

This one checks the version - and if it is pre 8.1 - it uses the oid-method -
otherwise it use the lastval() function.
I still think the inserts should be protected inside transactions.

Additional Item Attachment:

File name: patch_pgsql_8x.diff            Size:0 KB
get_last_insert_id() : check for version - lastval() for  8.1 and later


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]