pgsql-server: Adjust ExecMakeTableFunctionResult to produce a single

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql-server: Adjust ExecMakeTableFunctionResult to produce a single
Дата
Msg-id 20040922174153.DA80D329CF8@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Adjust ExecMakeTableFunctionResult to produce a single all-nulls row
when a function that returns a single tuple (not a setof tuple) returns
NULL.  This seems to be the most consistent behavior.  It would have
taken a bit less code to make it return an empty table (zero rows) but
ISTM a non-SETOF function ought always return exactly one row.  Per
bug report from Ivan-Sun1.

Modified Files:
--------------
    pgsql-server/src/backend/executor:
        execQual.c (r1.168 -> r1.169)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/executor/execQual.c.diff?r1=1.168&r2=1.169)
        nodeFunctionscan.c (r1.26 -> r1.27)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/executor/nodeFunctionscan.c.diff?r1=1.26&r2=1.27)

В списке pgsql-committers по дате отправления:

Предыдущее
От: neilc@svr1.postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql-server: Minor cleanup of libpq/LO examples: fix some memory leaks,
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql-server: Issue a CHECKPOINT just after creating the regression