summaryrefslogtreecommitdiff
path: root/ext/pdo_pgsql/php_pdo_pgsql_int.h
diff options
context:
space:
mode:
authorPablo Santiago Sánchez <phackwer@gmail.com>2016-07-27 22:12:56 -0300
committerAnatol Belski <ab@php.net>2016-08-02 14:34:30 +0200
commit90c6cbd09baa8802cd0d92ad13d9d791a3e4025d (patch)
tree9ef469fd8d4c2be918ababecd69c4b907b91e6f4 /ext/pdo_pgsql/php_pdo_pgsql_int.h
parentc9d3ff0c6e86398b9471428ab49c6a6fa47ae977 (diff)
downloadphp-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.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 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;