summaryrefslogtreecommitdiff
path: root/src/backend/regex
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-01-29 10:28:03 +0100
committerTom Lane <tgl@sss.pgh.pa.us>2016-01-29 10:28:03 +0100
commited5f57218f4f4a6de0ae3bd56c6ec63b751fdcdb (patch)
tree462b45097ff6582b7abcbcde68448d6740d88132 /src/backend/regex
parentb043df093a356f0a1936999db3dfddade95c6ffb (diff)
Fix incorrect pattern-match processing in psql's \det command.
listForeignTables' invocation of processSQLNamePattern did not match up with the other ones that handle potentially-schema-qualified names; it failed to make use of pg_table_is_visible() and also passed the name arguments in the wrong order. Bug seems to have been aboriginal in commit 0d692a0dc9f0e532. It accidentally sort of worked as long as you didn't inquire too closely into the behavior, although the silliness was later exposed by inconsistencies in the test queries added by 59efda3e50ca4de6 (which I probably should have questioned at the time, but didn't). Per bug #13899 from Reece Hart. Patch by Reece Hart and Tom Lane. Back-patch to all affected branches.
Diffstat (limited to 'src/backend/regex')
0 files changed, 0 insertions, 0 deletions