aboutsummaryrefslogtreecommitdiff
path: root/src/backend/nodes/read.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2004-05-30 23:40:41 +0000
committerNeil Conway <neilc@samurai.com>2004-05-30 23:40:41 +0000
commit72b6ad6313387110cb36b69a3732cd0936c3eba4 (patch)
treee43da77aaeb3a9d7f4997ddb2b91ae88001ea462 /src/backend/nodes/read.c
parentec0b1f271639ff0fafd1310de3c47cbb214c6294 (diff)
downloadpostgresql-72b6ad6313387110cb36b69a3732cd0936c3eba4.tar.gz
postgresql-72b6ad6313387110cb36b69a3732cd0936c3eba4.zip
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.
Diffstat (limited to 'src/backend/nodes/read.c')
-rw-r--r--src/backend/nodes/read.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/nodes/read.c b/src/backend/nodes/read.c
index 6822909225b..244b9e1f6be 100644
--- a/src/backend/nodes/read.c
+++ b/src/backend/nodes/read.c
@@ -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