From 72b6ad6313387110cb36b69a3732cd0936c3eba4 Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Sun, 30 May 2004 23:40:41 +0000 Subject: 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. --- src/backend/executor/nodeAgg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/executor/nodeAgg.c') diff --git a/src/backend/executor/nodeAgg.c b/src/backend/executor/nodeAgg.c index 9884cfecd38..265828f4c10 100644 --- a/src/backend/executor/nodeAgg.c +++ b/src/backend/executor/nodeAgg.c @@ -45,7 +45,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/nodeAgg.c,v 1.120 2004/05/26 04:41:15 neilc Exp $ + * $PostgreSQL: pgsql/src/backend/executor/nodeAgg.c,v 1.121 2004/05/30 23:40:26 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -1120,7 +1120,7 @@ ExecInitAgg(Agg *node, EState *estate) * get the count of aggregates in targetlist and quals */ numaggs = aggstate->numaggs; - Assert(numaggs == length(aggstate->aggs)); + Assert(numaggs == list_length(aggstate->aggs)); if (numaggs <= 0) { /* -- cgit v1.2.3