mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +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:
@ -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)
|
||||
{
|
||||
/*
|
||||
|
Reference in New Issue
Block a user