[COMMITTERS] pgsql: Add 'tap_tests' flag in config_default.pl

2016-03-04 Thread Alvaro Herrera
Add 'tap_tests' flag in config_default.pl This makes the flag more visible for testers using the default file as a template, increasing the likelyhood that the test suite will be run. Also have the flag be displayed in the fake "configure" output, if set. This patch is two new lines only, but per

[COMMITTERS] pgsql: Add 'tap_tests' flag in config_default.pl

2016-03-04 Thread Alvaro Herrera
Add 'tap_tests' flag in config_default.pl This makes the flag more visible for testers using the default file as a template, increasing the likelyhood that the test suite will be run. Also have the flag be displayed in the fake "configure" output, if set. This patch is two new lines only, but per

[COMMITTERS] pgsql: Add 'tap_tests' flag in config_default.pl

2016-03-04 Thread Alvaro Herrera
Add 'tap_tests' flag in config_default.pl This makes the flag more visible for testers using the default file as a template, increasing the likelyhood that the test suite will be run. Also have the flag be displayed in the fake "configure" output, if set. This patch is two new lines only, but per

[COMMITTERS] pgsql: postgres_fdw: When sending ORDER BY, always include NULLS FIRST/

2016-03-04 Thread Robert Haas
postgres_fdw: When sending ORDER BY, always include NULLS FIRST/LAST. Previously, we included NULLS FIRST when appropriate but relied on the default behavior to be NULLS LAST. This is, however, not true for a sort in descending order and seems like a fragile assumption anyway. Report by Rajkumar

[COMMITTERS] pgsql: Fix the way GetExistingLocalJoinPath is documented.

2016-03-04 Thread Robert Haas
Fix the way GetExistingLocalJoinPath is documented. The old approach made it look like it was an FDW callback, which it is not. Per a gripe from Stephen Frost. Patch by me, reviewed by Ashutosh Bapat. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/33b5eab7ab82a355

[COMMITTERS] pgsql: Fix query-based tab completion for multibyte characters.

2016-03-04 Thread Robert Haas
Fix query-based tab completion for multibyte characters. The existing code confuses the byte length of the string (which is relevant when passing it to pg_strncasecmp) with the character length of the string (which is relevant when it is used with the SQL substring function). Separate those two c

[COMMITTERS] pgsql: Fix query-based tab completion for multibyte characters.

2016-03-04 Thread Robert Haas
Fix query-based tab completion for multibyte characters. The existing code confuses the byte length of the string (which is relevant when passing it to pg_strncasecmp) with the character length of the string (which is relevant when it is used with the SQL substring function). Separate those two c

[COMMITTERS] pgsql: Fix query-based tab completion for multibyte characters.

2016-03-04 Thread Robert Haas
Fix query-based tab completion for multibyte characters. The existing code confuses the byte length of the string (which is relevant when passing it to pg_strncasecmp) with the character length of the string (which is relevant when it is used with the SQL substring function). Separate those two c

[COMMITTERS] pgsql: Fix query-based tab completion for multibyte characters.

2016-03-04 Thread Robert Haas
Fix query-based tab completion for multibyte characters. The existing code confuses the byte length of the string (which is relevant when passing it to pg_strncasecmp) with the character length of the string (which is relevant when it is used with the SQL substring function). Separate those two c

[COMMITTERS] pgsql: Fix query-based tab completion for multibyte characters.

2016-03-04 Thread Robert Haas
Fix query-based tab completion for multibyte characters. The existing code confuses the byte length of the string (which is relevant when passing it to pg_strncasecmp) with the character length of the string (which is relevant when it is used with the SQL substring function). Separate those two c

[COMMITTERS] pgsql: Fix query-based tab completion for multibyte characters.

2016-03-04 Thread Robert Haas
Fix query-based tab completion for multibyte characters. The existing code confuses the byte length of the string (which is relevant when passing it to pg_strncasecmp) with the character length of the string (which is relevant when it is used with the SQL substring function). Separate those two c

[COMMITTERS] pgsql: Improve support of Hunspell in ispell dictionary.

2016-03-04 Thread Teodor Sigaev
Improve support of Hunspell in ispell dictionary. Now it's possible to load recent version of Hunspell for several languages. To handle these dictionaries Hunspell patch adds support for: * FLAG long - sets the double extended ASCII character flag type * FLAG num - sets the decimal number flag typ

[COMMITTERS] pgsql: Fix compile breakage due to 0315dfa8f4afa8390383119330ca0bf241be

2016-03-04 Thread Robert Haas
Fix compile breakage due to 0315dfa8f4afa8390383119330ca0bf241be4ad4. I wasn't careful enough when back-patching. Branch -- REL9_2_STABLE Details --- http://git.postgresql.org/pg/commitdiff/756c0f42a9e07a1771715da0193921c2d0fc0253 Modified Files -- src/bin/psql/tab-complete.

[COMMITTERS] pgsql: Fix compile breakage due to 0315dfa8f4afa8390383119330ca0bf241be

2016-03-04 Thread Robert Haas
Fix compile breakage due to 0315dfa8f4afa8390383119330ca0bf241be4ad4. I wasn't careful enough when back-patching. Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/369c0b09080812943a2efcebe91cf4b271bc4f86 Modified Files -- src/bin/psql/tab-complete.

[COMMITTERS] pgsql: Fix compile breakage due to 0315dfa8f4afa8390383119330ca0bf241be

2016-03-04 Thread Robert Haas
Fix compile breakage due to 0315dfa8f4afa8390383119330ca0bf241be4ad4. I wasn't careful enough when back-patching. Branch -- REL9_3_STABLE Details --- http://git.postgresql.org/pg/commitdiff/fbee403237d543a21adc885d37b70b5d91fc64d3 Modified Files -- src/bin/psql/tab-complete.

[COMMITTERS] pgsql: Fix InitializeSessionUserId not to deference NULL rolename point

2016-03-04 Thread Robert Haas
Fix InitializeSessionUserId not to deference NULL rolename pointer. Dmitriy Sarafannikov, reviewed by Michael Paquier and Haribabu Kommi, with a minor fix by me. Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/7963731f94fd57293a651aa2a9a2e31dd11d6541 Modified

[COMMITTERS] pgsql: Fix InitializeSessionUserId not to deference NULL rolename point

2016-03-04 Thread Robert Haas
Fix InitializeSessionUserId not to deference NULL rolename pointer. Dmitriy Sarafannikov, reviewed by Michael Paquier and Haribabu Kommi, with a minor fix by me. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/546cd0d7664ee0f120ef3b267d4303190bdfdb94 Modified Files

[COMMITTERS] pgsql: Fix compile breakage due to 0315dfa8f4afa8390383119330ca0bf241be

2016-03-04 Thread Robert Haas
Fix compile breakage due to 0315dfa8f4afa8390383119330ca0bf241be4ad4. I wasn't careful enough when back-patching. Branch -- REL9_1_STABLE Details --- http://git.postgresql.org/pg/commitdiff/58c1af4fd0952a9ac45b06824dcaee6f5fbdd737 Modified Files -- src/bin/psql/tab-complete.

[COMMITTERS] pgsql: Fix compile breakage due to 0315dfa8f4afa8390383119330ca0bf241be

2016-03-04 Thread Robert Haas
Fix compile breakage due to 0315dfa8f4afa8390383119330ca0bf241be4ad4. I wasn't careful enough when back-patching. Branch -- REL9_4_STABLE Details --- http://git.postgresql.org/pg/commitdiff/21050917d6c6f52ed3b06f0ee3fc210caaf42e8c Modified Files -- src/bin/psql/tab-complete.

[COMMITTERS] pgsql: Minor optimizations based on ParallelContext having nworkers_lau

2016-03-04 Thread Robert Haas
Minor optimizations based on ParallelContext having nworkers_launched. Originally, we didn't have nworkers_launched, so code that used parallel contexts had to be preprared for the possibility that not all of the workers requested actually got launched. But now we can count on knowing the number

Re: [COMMITTERS] pgsql: Improve support of Hunspell in ispell dictionary.

2016-03-04 Thread Artur Zakirov
Thank you for commit. This commit did not pass regression tests in Windows Server in pgbuildfarm. Attached patch fix it. On 04.03.2016 20:08, Teodor Sigaev wrote: Improve support of Hunspell in ispell dictionary. Now it's possible to load recent version of Hunspell for several languages. To

[COMMITTERS] pgsql: Fix Windows build broken by d78a7d9c7fa3e9cd494b906f065fe7b7fe9f

2016-03-04 Thread Teodor Sigaev
Fix Windows build broken by d78a7d9c7fa3e9cd494b906f065fe7b7fe9fb9a5 Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/0e7557dc8d5b2008b0b096cd730d16c8562690fc Modified Files -- src/tools/msvc/Install.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [COMMITTERS] pgsql: Improve support of Hunspell in ispell dictionary.

2016-03-04 Thread Teodor Sigaev
Thank you, pushed Artur Zakirov wrote: Thank you for commit. This commit did not pass regression tests in Windows Server in pgbuildfarm. Attached patch fix it. On 04.03.2016 20:08, Teodor Sigaev wrote: Improve support of Hunspell in ispell dictionary. Now it's possible to load recent version

[COMMITTERS] pgsql: Fix SerializeSnapshot not to overrun the allocated space.

2016-03-04 Thread Robert Haas
Fix SerializeSnapshot not to overrun the allocated space. Rushabh Lathia Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/17b124d30317eb194dc8b2fa86b1ebc5b09ac8f3 Modified Files -- src/backend/utils/time/snapmgr.c | 2 +- 1 file changed, 1 insertion(+), 1

[COMMITTERS] pgsql: Fix SerializeSnapshot not to overrun the allocated space.

2016-03-04 Thread Robert Haas
Fix SerializeSnapshot not to overrun the allocated space. Rushabh Lathia Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/763b8f5d904517c3dffaaa43331a719c80d6e5b0 Modified Files -- src/backend/utils/time/snapmgr.c | 2 +- 1 file changed, 1 insertion

[COMMITTERS] pgsql: Minor improvements to transaction manager README.

2016-03-04 Thread Robert Haas
Minor improvements to transaction manager README. A simple SELECT is handled by PortalRunSelect, not ProcessQuery. Also, the previous indentation was unclear: change it so that a deeper level of indentation indicates that the outer function calls the inner one. Stas Kelvich Branch -- master

[COMMITTERS] pgsql: Fix typo in comment.

2016-03-04 Thread Robert Haas
Fix typo in comment. Thomas Munro Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/708020eb7b08395626707fef0010547bf5764409 Modified Files -- src/backend/utils/adt/timestamp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-commi

[COMMITTERS] pgsql: Make stats regression test robust in the face of parallel query.

2016-03-04 Thread Tom Lane
Make stats regression test robust in the face of parallel query. Historically, the wait_for_stats() function in this test has simply checked for a report of an indexscan on tenk2, corresponding to the last command issued before we expect stats updates to appear. However, with parallel query that