From 85538577762b2b912934d6aeb18c3f737183d0f8 Mon Sep 17 00:00:00 2001 From: Damien Regad Date: Sat, 26 Apr 2025 18:16:20 +0200 Subject: Mark pg_insert_id() as deprecated This function does the same thing as ADODB_postgres8::_insertID(), in a more limited way. There is no reason to keep it around. Fixes #1069 --- drivers/adodb-postgres64.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/adodb-postgres64.inc.php b/drivers/adodb-postgres64.inc.php index 5e144cd1..cda1e962 100644 --- a/drivers/adodb-postgres64.inc.php +++ b/drivers/adodb-postgres64.inc.php @@ -143,6 +143,7 @@ class ADODB_postgres64 extends ADOConnection{ * @return int|false * * @noinspection PhpUnused + * @deprecated 5.22.9 Use {@see insert_ID()} method instead. */ function pg_insert_id($tablename, $fieldname) { -- cgit v1.3