pgsql: Remove vestigial resolveUnknown arguments from transformSortClau

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove vestigial resolveUnknown arguments from transformSortClau
Date: 2017-01-25 14:35:11
Message-ID: E1cWOfH-0001GC-UJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-01-25 15:55:33 pgsql: Close replication connection when slot creation errors
Previous Message Peter Eisentraut 2017-01-25 14:29:28 pgsql: doc: Fix typo