aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/executor/functions.c')
-rw-r--r--src/backend/executor/functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/executor/functions.c b/src/backend/executor/functions.c
index 29a8a16f5f9..64a9e584627 100644
--- a/src/backend/executor/functions.c
+++ b/src/backend/executor/functions.c
@@ -1181,7 +1181,7 @@ fmgr_sql(PG_FUNCTION_ARGS)
es = es->next;
while (!es)
{
- eslc = lnext(eslc);
+ eslc = lnext(eslist, eslc);
if (!eslc)
break; /* end of function */