pgsql: Adjust psql describe queries so that any pg_foo_is_visible()

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: Adjust psql describe queries so that any pg_foo_is_visible()
Дата
Msg-id 20050718174015.2D59E52B39@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Adjust psql describe queries so that any pg_foo_is_visible() condition
is applied last, after other constraints such as name patterns.  This
is useful first because the pg_foo_is_visible() functions are relatively
expensive, and second because it minimizes the prospects for race
conditions.  The change is fragile though since it makes unwarranted
assumptions about planner behavior, ie, that WHERE clauses will be
executed in the original order if there's not reason to change it.
This should fix ... or at least hide ... an intermittent failure in the
prepared_xacts regression test, while we think about what else to do.

Modified Files:
--------------
    pgsql/src/bin/psql:
        describe.c (r1.120 -> r1.121)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/describe.c.diff?r1=1.120&r2=1.121)

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

Предыдущее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: pgcrypto documentation update.
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix bogus backslash sequences, per Kris Jurka.