diff options
author | Neil Conway | 2004-05-30 23:40:41 +0000 |
---|---|---|
committer | Neil Conway | 2004-05-30 23:40:41 +0000 |
commit | 72b6ad6313387110cb36b69a3732cd0936c3eba4 (patch) | |
tree | e43da77aaeb3a9d7f4997ddb2b91ae88001ea462 /src/backend/executor/nodeTidscan.c | |
parent | ec0b1f271639ff0fafd1310de3c47cbb214c6294 (diff) |
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/executor/nodeTidscan.c')
-rw-r--r-- | src/backend/executor/nodeTidscan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/nodeTidscan.c b/src/backend/executor/nodeTidscan.c index 0d321b08666..44cef1a13f9 100644 --- a/src/backend/executor/nodeTidscan.c +++ b/src/backend/executor/nodeTidscan.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/nodeTidscan.c,v 1.38 2004/05/26 04:41:16 neilc Exp $ + * $PostgreSQL: pgsql/src/backend/executor/nodeTidscan.c,v 1.39 2004/05/30 23:40:26 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -48,7 +48,7 @@ TidListCreate(TidScanState *tidstate) ListCell *l; tidList = (ItemPointerData *) - palloc(length(tidstate->tss_tideval) * sizeof(ItemPointerData)); + palloc(list_length(tidstate->tss_tideval) * sizeof(ItemPointerData)); foreach(l, evalList) { |