mirror of
https://github.com/postgres/postgres.git
synced 2025-08-25 20:23:07 +03:00
Use the new List API function names throughout the backend, and disable the
list compatibility API by default. While doing this, I decided to keep the llast() macro around and introduce llast_int() and llast_oid() variants.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/read.c,v 1.42 2004/05/26 04:41:19 neilc Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/read.c,v 1.43 2004/05/30 23:40:27 neilc Exp $
|
||||
*
|
||||
* HISTORY
|
||||
* AUTHOR DATE MAJOR EVENT
|
||||
@@ -327,7 +327,7 @@ nodeRead(char *token, int tok_len)
|
||||
if (endptr != token + tok_len)
|
||||
elog(ERROR, "unrecognized integer: \"%.*s\"",
|
||||
tok_len, token);
|
||||
l = lappendi(l, val);
|
||||
l = lappend_int(l, val);
|
||||
}
|
||||
}
|
||||
else if (tok_len == 1 && token[0] == 'o')
|
||||
@@ -347,7 +347,7 @@ nodeRead(char *token, int tok_len)
|
||||
if (endptr != token + tok_len)
|
||||
elog(ERROR, "unrecognized OID: \"%.*s\"",
|
||||
tok_len, token);
|
||||
l = lappendo(l, val);
|
||||
l = lappend_oid(l, val);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user