The OID field is not be present by default in PostgreSQL 8.1 and therefore the 
get_last_insert_id in class.db_pgsql.inc.php that relays on pg_last_oid() won't 
work.
There is a mention of a function lastval() to retrieve the last inserted 
sequence - but I think this is a new function. One might have to check for the 
pgsql version - and then apply the appropiate method.

Or - it might be sufficient to ask for the max value of the field in question?

Anyone care to fix this?

Regards

Sigurd
_______________________________________________
Phpgroupware-developers mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-developers

Reply via email to