phpgroupware-tracker
[Top][All Lists]
Advanced

[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.
manual:
http://www.postgresql.org/docs/8.1/interactive/functions-sequence.html
    _______________________________________________________

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
<http://savannah.gnu.org/bugs/download.php?item_id=15588&item_file_id=3353>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15588>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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