pgsql: Fix incorrect pattern-match processing in psql's \det command.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix incorrect pattern-match processing in psql's \det command.
Дата
Msg-id E1aP5Nh-0000ya-0W@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5849b6e32404079c122d013d14c3fc2d197c81d7

Modified Files
--------------
src/bin/psql/describe.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix incorrect pattern-match processing in psql's \det command.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: pgbench: refactor handling of stats tracking