[COMMITTERS] pgsql: Use thread-local storage for querybuffer in fmtId() on Windows,

2009-03-10 Thread Andrew Dunstan
Log Message: --- Use thread-local storage for querybuffer in fmtId() on Windows, when needed (i.e. when running pg_restore, which might run in parallel). Only reopen archive file when we really need to read from it, in parallel code. Otherwise, close it immediately in a worker, if possibl

[COMMITTERS] pgsql: Improve match_special_index_operator() to recognize that LIKE

2009-03-10 Thread Tom Lane
Log Message: --- Improve match_special_index_operator() to recognize that LIKE with an exact-match pattern (no wildcard) can be index-optimized in some cases where a prefix-match pattern cannot; specifically, since the required index clause is simple equality, it works for regular text/varc

[COMMITTERS] pgsql: Remove pg_trace.h inclusion from c.h and add it to the .c files

2009-03-10 Thread Alvaro Herrera
Log Message: --- Remove pg_trace.h inclusion from c.h and add it to the .c files that need it. Only needed in 8.3 because it's already this way in HEAD, and older branches did not support DTrace. This allows external modules to compile on Linux machines where SystemTap support was recently

[COMMITTERS] pgsql: Make SubPlan nodes carry the result's typmod as well as datatype

2009-03-10 Thread Tom Lane
Log Message: --- Make SubPlan nodes carry the result's typmod as well as datatype OID. This is for consistency with the (relatively) recent addition of typmod to SubLink. An example of why it's a good idea is to be seen in the recent "failed to locate grouping columns" bug, which wouldn't

[COMMITTERS] pgsql: Fix set_subquery_pathlist() to copy the RTE's subquery before it

2009-03-10 Thread Tom Lane
Log Message: --- Fix set_subquery_pathlist() to copy the RTE's subquery before it gets mangled by the planning process. This prevents the "failed to locate grouping columns" error recently reported by Dickson Guedes. That happens because planning replaces SubLinks by SubPlans in the subqu

[COMMITTERS] pgsql: Fix set_subquery_pathlist() to copy the RTE's subquery before it

2009-03-10 Thread Tom Lane
Log Message: --- Fix set_subquery_pathlist() to copy the RTE's subquery before it gets mangled by the planning process. This prevents the "failed to locate grouping columns" error recently reported by Dickson Guedes. That happens because planning replaces SubLinks by SubPlans in the subqu

[COMMITTERS] pgloader - pgloader: Implement skip_head_lines in configuration file,

2009-03-10 Thread User Dim
Log Message: --- Implement skip_head_lines in configuration file, some more bugfixes Modified Files: -- pgloader: TODO.txt (r1.8 -> r1.9) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgloader/pgloader/TODO.txt.diff?r1=1.8&r2=1.9) pgloader.1.txt (r1.

[COMMITTERS] pgsql: Prevent recursion during parse of email-like string with multiple

2009-03-10 Thread Teodor Sigaev
Log Message: --- Prevent recursion during parse of email-like string with multiple '@'. Patch by Heikki Linnakangas Tags: REL8_2_STABLE Modified Files: -- pgsql/contrib/tsearch2/wordparser: parser.c (r1.11.2.3 -> r1.11.2.4) (http://anoncvs.postgresql

[COMMITTERS] pgsql: Prevent recursion during parse of email-like string with multiple

2009-03-10 Thread Teodor Sigaev
Log Message: --- Prevent recursion during parse of email-like string with multiple '@'. Patch by Heikki Linnakangas Tags: REL8_3_STABLE Modified Files: -- pgsql/src/backend/tsearch: wparser_def.c (r1.14.2.4 -> r1.14.2.5) (http://anoncvs.postgresql.or

[COMMITTERS] pgsql: Prevent recursion during parse of email-like string with multiple

2009-03-10 Thread Teodor Sigaev
Log Message: --- Prevent recursion during parse of email-like string with multiple '@'. Patch by Heikki Linnakangas Modified Files: -- pgsql/src/backend/tsearch: wparser_def.c (r1.21 -> r1.22) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tse