Обсуждение: [COMMITTERS] pgsql: Remove vestigial resolveUnknown arguments fromtransformSortClau

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Remove vestigial resolveUnknown arguments fromtransformSortClau

От
Tom Lane
Дата:
Remove vestigial resolveUnknown arguments from transformSortClause etc.

There's really no situation where we don't want these unknown-to-text
conversions to happen.  The alternative is failure anyway, and the one
caller that was passing "false" did so only because it expected the
case could not arise.  Might as well simplify the code.

Discussion: https://postgr.es/m/CAH2L28uwwbL9HUM-WR=hromW1Cvamkn7O-g8fPY2m=_7muJ0oA@mail.gmail.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/aebeb4790c750dc808c1c5afb3cb435116244e36

Modified Files
--------------
src/backend/parser/analyze.c      |  3 ---
src/backend/parser/parse_agg.c    |  4 +---
src/backend/parser/parse_clause.c | 37 +++++++++----------------------------
src/include/parser/parse_clause.h |  5 ++---
4 files changed, 12 insertions(+), 37 deletions(-)