aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeSort.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-09-23 13:49:26 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-09-23 13:49:26 -0400
commit7e02476f337990e68c80b7a1395dcc6af111c034 (patch)
treed2b35c91c75c9090d6d22ad62d889bf3921406cd /src/backend/executor/nodeSort.c
parenta20435fe9aa52cd8c62f3b0ed359077a56824830 (diff)
downloadpostgresql-7e02476f337990e68c80b7a1395dcc6af111c034.tar.gz
postgresql-7e02476f337990e68c80b7a1395dcc6af111c034.zip
Fix incorrect logic for excluding range constructor functions in pg_dump.
Faulty AND/OR nesting in the WHERE clause of getFuncs' SQL query led to dumping range constructor functions if they are part of an extension and we're in binary-upgrade mode. Actually, we don't want to dump them separately even then, since CREATE TYPE AS RANGE will create the range's constructor functions regardless. Per report from Andrew Dunstan. It looks like this mistake was introduced by me, in commit b985d4877, in perhaps-overzealous refactoring to reduce code duplication. I'm suitably embarrassed. Report: <34854939-02d7-f591-5677-ce2994104599@dunslane.net>
Diffstat (limited to 'src/backend/executor/nodeSort.c')
0 files changed, 0 insertions, 0 deletions