pgsql: Fix overly-enthusiastic Assert in printing of Param reference ex

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix overly-enthusiastic Assert in printing of Param reference ex
Дата
Msg-id E1PARk0-0007uL-SF@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix overly-enthusiastic Assert in printing of Param reference expressions.

A NestLoopParam's value can only be a Var or Aggref, but this isn't the
case in general for SubPlan parameters, so print_parameter_expr had better
be prepared to cope.  Brain fade in my recent patch to print the referenced
expression instead of just printing $N for PARAM_EXEC Params.  Per report
from Pavel Stehule.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=c6873eac4c33720140240cdbd1a663fecc922c57

Modified Files
--------------
src/backend/utils/adt/ruleutils.c |   15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix inline_set_returning_function() to preserve the invalItems l
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Refactor typenameTypeId()