summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2025-04-26 18:16:20 +0200
committerDamien Regad <dregad@mantisbt.org>2025-05-01 13:47:18 +0200
commit85538577762b2b912934d6aeb18c3f737183d0f8 (patch)
tree000d37121d942170f896b08f8eef84b43e9582f7
parent2fa8c0f10f8a8c3ecc8f3778a933ef3bb575f94c (diff)
downloadadodb-85538577762b2b912934d6aeb18c3f737183d0f8.tar.gz
adodb-85538577762b2b912934d6aeb18c3f737183d0f8.tar.bz2
adodb-85538577762b2b912934d6aeb18c3f737183d0f8.zip
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
-rw-r--r--drivers/adodb-postgres64.inc.php1
1 files changed, 1 insertions, 0 deletions
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)
{