Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last inserted id support of PostgreSQL 9 disappeared #8

Closed
dregad opened this issue Apr 15, 2014 · 0 comments
Closed

Last inserted id support of PostgreSQL 9 disappeared #8

dregad opened this issue Apr 15, 2014 · 0 comments

Comments

@dregad
Copy link
Member

dregad commented Apr 15, 2014

After updating the master branch of ADOdb last inserted id support of PostgreSQL 9 disappeared.

I found a commit which is maybe the origin of the problem: d01454c

In the updated code pg_getlastoid PHP method used to retrieve the last insert id but after PostgreSQL version 8.1 it is discouraged.(http://hu1.php.net/manual/en/function.pg-last-oid.php)

The replaced code was good and it presents in tag v5.18a.

Please check and modify master branch if it's possible.


This issue was reported by Péter Hadadi via e-mail to John Lim.

@dregad dregad closed this as completed in e456320 Apr 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant