diff options
author | Pablo Santiago Sánchez <phackwer@gmail.com> | 2016-07-27 22:12:56 -0300 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-08-02 14:34:30 +0200 |
commit | 90c6cbd09baa8802cd0d92ad13d9d791a3e4025d (patch) | |
tree | 9ef469fd8d4c2be918ababecd69c4b907b91e6f4 /ext/pdo_pgsql/php_pdo_pgsql_int.h | |
parent | c9d3ff0c6e86398b9471428ab49c6a6fa47ae977 (diff) | |
download | php-git-90c6cbd09baa8802cd0d92ad13d9d791a3e4025d.tar.gz |
- lastInsertId using Postgres Lastval() function
Diffstat (limited to 'ext/pdo_pgsql/php_pdo_pgsql_int.h')
-rw-r--r-- | ext/pdo_pgsql/php_pdo_pgsql_int.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pdo_pgsql/php_pdo_pgsql_int.h b/ext/pdo_pgsql/php_pdo_pgsql_int.h index eb645c58c4..2876b312b7 100644 --- a/ext/pdo_pgsql/php_pdo_pgsql_int.h +++ b/ext/pdo_pgsql/php_pdo_pgsql_int.h @@ -29,6 +29,8 @@ #define PHP_PDO_PGSQL_CONNECTION_FAILURE_SQLSTATE "08006" +#define PHP_PDO_PGSQL_LASTVAL_PG_VERSION 80100 + typedef struct { const char *file; int line; |