[COMMITTERS] pgsql: Improve GiST index search performance for trigram regex queries.

2013-04-15 Thread Tom Lane
Improve GiST index search performance for trigram regex queries. The initial coding just descended the index if any of the target trigrams were possibly present at the next level down. But actually we can apply trigramsMatchGraph() so as to take advantage of AND requirements when there are some.

[COMMITTERS] pgsql: Correct handling of NULL arguments in json funcs.

2013-04-15 Thread Andrew Dunstan
Correct handling of NULL arguments in json funcs. Per gripe from Tom Lane. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/728ec9731fb0b3f2de8ce66a394b71c64930f445 Modified Files -- src/backend/utils/adt/jsonfuncs.c | 15 +++ 1 files changed

[COMMITTERS] pgsql: Mark json IO and extraction functions immutable.

2013-04-15 Thread Andrew Dunstan
Mark json IO and extraction functions immutable. Per complaint from Hubert Depesz Lubaczewski. Catalog version bumped. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/d788121aba3425b5d52fe20cc9facb6aca1294ce Modified Files -- src/include/catalog/catvers

[COMMITTERS] pgsql: Fix function return type confusion

2013-04-15 Thread Peter Eisentraut
Fix function return type confusion When parse_hba_line's return type was changed from bool to a pointer, the MANDATORY_AUTH_ARG macro wasn't adjusted. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/c74d586d2fc8aeaa303d8c60a8a9d959fdc5e791 Modified Files ---