summaryrefslogtreecommitdiff
path: root/ext/pdo_pgsql/php_pdo_pgsql_int.h
diff options
context:
space:
mode:
authorroot <phackwer@gmail.com>2016-07-19 15:28:25 -0400
committerAnatol Belski <ab@php.net>2016-07-27 23:00:12 +0200
commit12628e9a46b91a0aa92fd0619cdd545c409d25a6 (patch)
treea3b7b93e02eedbdd0ef7987867bf18b4c1cb0b5d /ext/pdo_pgsql/php_pdo_pgsql_int.h
parentc52322707e4224a5b3c16d53e9b59512d3a188e9 (diff)
downloadphp-git-12628e9a46b91a0aa92fd0619cdd545c409d25a6.tar.gz
Implemented FR #72633 Postgres PDO lastInsertId() should work without specifying a sequence
Diffstat (limited to 'ext/pdo_pgsql/php_pdo_pgsql_int.h')
-rw-r--r--ext/pdo_pgsql/php_pdo_pgsql_int.h2
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 30c2cc2d52..86fc847633 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;