diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2005-06-28 02:09:53 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2005-06-28 02:09:53 +0000 |
| commit | f04cbae3fda3adb96f579f19cd1a92c80be71af1 (patch) | |
| tree | e73d6728cecf1b076b5a39aac703d4fc4bdc237c | |
| parent | 990aa7456e55039f91600aefa0a610b8e319a64b (diff) | |
| download | php-git-f04cbae3fda3adb96f579f19cd1a92c80be71af1.tar.gz | |
fixed oid retrieval.
| -rw-r--r-- | ext/pdo_pgsql/pgsql_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c index f0531db7ff..b63b20f125 100644 --- a/ext/pdo_pgsql/pgsql_driver.c +++ b/ext/pdo_pgsql/pgsql_driver.c @@ -215,7 +215,7 @@ static char *pdo_pgsql_last_insert_id(pdo_dbh_t *dbh, const char *name, unsigned /* TODO: if name != NULL, pull out last value for that sequence/column */ - *len = spprintf(&id, 0, "%lld", H->pgoid); + *len = spprintf(&id, 0, "%ld", H->pgoid); return id; } |
