aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/variable.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-07-18 17:40:14 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-07-18 17:40:14 +0000
commitdf38d799eafe03d5034234603f5c4b5a68914a6c (patch)
treed48884577ae50dfd5ac97b6d95af9a4efdf6ad42 /src/backend/commands/variable.c
parent24ce1438c092d77db095b934ce5b038f5cec58d1 (diff)
downloadpostgresql-df38d799eafe03d5034234603f5c4b5a68914a6c.tar.gz
postgresql-df38d799eafe03d5034234603f5c4b5a68914a6c.zip
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.
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions