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/ _______________________________________________ Phpgroupware-tracker mailing list [email protected] http://lists.gnu.org/mailman/listinfo/phpgroupware-tracker
