[COMMITTERS] pgsql: Improve speed of make check-world

2015-04-23 Thread Peter Eisentraut
Improve speed of make check-world Before, make check-world would create a new temporary installation for each test suite, which is slow and wasteful. Instead, we now create one test installation that is used by all test suites that are part of a make run. The management of the temporary installa

[COMMITTERS] pgsql: Fix shell error on Solaris

2015-04-23 Thread Peter Eisentraut
Fix shell error on Solaris Apparently, the Bourne shell on Solaris doesn't like "for" loops with an empty list, so have "make" skip the loop in that case. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/2aa0fb032ecdc5624a3706a2db0a7ca42bbaf211 Modified Files ---

[COMMITTERS] pgsql: Fix deadlock at startup, if max_prepared_transactions is too sma

2015-04-23 Thread Heikki Linnakangas
Fix deadlock at startup, if max_prepared_transactions is too small. When the startup process recovers transactions by scanning pg_twophase directory, it should clear MyLockedGxact after it's done processing each transaction. Like we do during normal operation, at PREPARE TRANSACTION. Otherwise, if

[COMMITTERS] pgsql: Fix deadlock at startup, if max_prepared_transactions is too sma

2015-04-23 Thread Heikki Linnakangas
Fix deadlock at startup, if max_prepared_transactions is too small. When the startup process recovers transactions by scanning pg_twophase directory, it should clear MyLockedGxact after it's done processing each transaction. Like we do during normal operation, at PREPARE TRANSACTION. Otherwise, if

[COMMITTERS] pgsql: Fix deadlock at startup, if max_prepared_transactions is too sma

2015-04-23 Thread Heikki Linnakangas
Fix deadlock at startup, if max_prepared_transactions is too small. When the startup process recovers transactions by scanning pg_twophase directory, it should clear MyLockedGxact after it's done processing each transaction. Like we do during normal operation, at PREPARE TRANSACTION. Otherwise, if

[COMMITTERS] pgsql: Fix deadlock at startup, if max_prepared_transactions is too sma

2015-04-23 Thread Heikki Linnakangas
Fix deadlock at startup, if max_prepared_transactions is too small. When the startup process recovers transactions by scanning pg_twophase directory, it should clear MyLockedGxact after it's done processing each transaction. Like we do during normal operation, at PREPARE TRANSACTION. Otherwise, if

[COMMITTERS] pgsql: Fix deadlock at startup, if max_prepared_transactions is too sma

2015-04-23 Thread Heikki Linnakangas
Fix deadlock at startup, if max_prepared_transactions is too small. When the startup process recovers transactions by scanning pg_twophase directory, it should clear MyLockedGxact after it's done processing each transaction. Like we do during normal operation, at PREPARE TRANSACTION. Otherwise, if

[COMMITTERS] pgsql: Fix deadlock at startup, if max_prepared_transactions is too sma

2015-04-23 Thread Heikki Linnakangas
Fix deadlock at startup, if max_prepared_transactions is too small. When the startup process recovers transactions by scanning pg_twophase directory, it should clear MyLockedGxact after it's done processing each transaction. Like we do during normal operation, at PREPARE TRANSACTION. Otherwise, if

Re: [COMMITTERS] pgsql: Improve speed of make check-world

2015-04-23 Thread Andrew Dunstan
On 04/23/2015 10:11 AM, Peter Eisentraut wrote: Improve speed of make check-world Before, make check-world would create a new temporary installation for each test suite, which is slow and wasteful. Instead, we now create one test installation that is used by all test suites that are part of a

[COMMITTERS] pgsql: Move functions related to index maintenance to separate source f

2015-04-23 Thread Heikki Linnakangas
Move functions related to index maintenance to separate source file. There is enough code here to deserve a file of their own, not be buried in the middle of execUtils.c. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/62420ae7d6675453a48e408b62030b6f0780e878 Modifi