From 12628e9a46b91a0aa92fd0619cdd545c409d25a6 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 19 Jul 2016 15:28:25 -0400 Subject: Implemented FR #72633 Postgres PDO lastInsertId() should work without specifying a sequence --- ext/pdo_pgsql/php_pdo_pgsql_int.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/pdo_pgsql/php_pdo_pgsql_int.h') 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; -- cgit v1.2.1