[COMMITTERS] pgsql: Move rowsecurity event trigger test

2015-01-08 Thread Stephen Frost
Move rowsecurity event trigger test The event trigger test for rowsecurity can cause problems for other tests which are run in parallel with it. Instead of running that test in the rowsecurity set, move it to the event_trigger set, which runs isolated from other tests. Also reverts 7161b08, whic

[COMMITTERS] pgsql: Protect against XLogReaderAllocate() failing to allocate memory.

2015-01-08 Thread Andres Freund
Protect against XLogReaderAllocate() failing to allocate memory. logical.c's StartupDecodingContext() forgot to check whether XLogReaderAllocate() returns NULL indicating a memory allocation failure. This could lead, although quite unlikely, lead to a NULL pointer dereference. This only applies

[COMMITTERS] pgsql: Move comment about sun cc's __machine_rw_barrier being a full ba

2015-01-08 Thread Andres Freund
Move comment about sun cc's __machine_rw_barrier being a full barrier. I'd accidentally written the comment besides the read barrier, instead of the full barrier, implementation. Noticed by Oskari Saarenmaa Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/93be0950070

[COMMITTERS] pgsql: Fix logging of pages skipped due to pins during vacuum.

2015-01-08 Thread Andres Freund
Fix logging of pages skipped due to pins during vacuum. The new logging introduced in 35192f06 made the incorrect assumption that scan_all vacuums would always wait for buffer pins; but they only do so if the page actually needs to be frozen. Fix that inaccuracy by removing the difference in log

[COMMITTERS] pgsql: Remove comment that was intended to have been removed before com

2015-01-08 Thread Andres Freund
Remove comment that was intended to have been removed before commit. Noticed by Amit Kapila Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/f454144a34c2288418292ae7b01495724cfda359 Modified Files -- src/backend/storage/lmgr/lwlock.c |1 - 1 file chang