From 6854cb3f4d8219cf1829e32122eb2502a916eae9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 1 Feb 2020 09:05:48 +0100 Subject: initial checkin --- .../adodb-php/drivers/adodb-postgres8.inc.php | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 vendor/adodb/adodb-php/drivers/adodb-postgres8.inc.php (limited to 'vendor/adodb/adodb-php/drivers/adodb-postgres8.inc.php') diff --git a/vendor/adodb/adodb-php/drivers/adodb-postgres8.inc.php b/vendor/adodb/adodb-php/drivers/adodb-postgres8.inc.php new file mode 100644 index 0000000..f1b8576 --- /dev/null +++ b/vendor/adodb/adodb-php/drivers/adodb-postgres8.inc.php @@ -0,0 +1,50 @@ +GetOne("SELECT lastval()") + : $this->GetOne("SELECT currval(pg_get_serial_sequence('$table', '$column'))"); + } +} + +class ADORecordSet_postgres8 extends ADORecordSet_postgres7 +{ + var $databaseType = "postgres8"; +} + +class ADORecordSet_assoc_postgres8 extends ADORecordSet_assoc_postgres7 +{ + var $databaseType = "postgres8"; +} -- cgit v1.2.3-70-g09d2