]> granicus.if.org Git - postgresql/commit
Set procost to 10 for each of the pg_foo_is_visible() functions.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Oct 2012 16:19:25 +0000 (12:19 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Oct 2012 16:19:25 +0000 (12:19 -0400)
commita80889a7359e720107b881bcd3e8fd47f3874e36
tree2c90d49d36c19abe05146e87b70b15aab60e25dc
parent3f88fa971aafcf5204052d1dd114c739a0e751c2
Set procost to 10 for each of the pg_foo_is_visible() functions.

The idea here is to make sure the planner will evaluate these functions
last not first among the filter conditions in psql pattern search and
tab-completion queries.  We've discussed this several times, and there
was consensus to do it back in August, but we didn't want to do it just
before a release.  Now seems like a safer time.

No catversion bump, since this catalog change doesn't create a backend
incompatibility nor any regression test result changes.
src/include/catalog/pg_proc.h