[COMMITTERS] pgsql: Do ClosePostmasterPorts() earlier in SubPostmasterMain().

2016-10-01 Thread Tom Lane
Do ClosePostmasterPorts() earlier in SubPostmasterMain(). In standard Unix builds, postmaster child processes do ClosePostmasterPorts immediately after InitPostmasterChild, that is almost immediately after being spawned. This is important because we don't want children holding open the postmaster

[COMMITTERS] pgsql: Do ClosePostmasterPorts() earlier in SubPostmasterMain().

2016-10-01 Thread Tom Lane
Do ClosePostmasterPorts() earlier in SubPostmasterMain(). In standard Unix builds, postmaster child processes do ClosePostmasterPorts immediately after InitPostmasterChild, that is almost immediately after being spawned. This is important because we don't want children holding open the postmaster

[COMMITTERS] pgsql: Do ClosePostmasterPorts() earlier in SubPostmasterMain().

2016-10-01 Thread Tom Lane
Do ClosePostmasterPorts() earlier in SubPostmasterMain(). In standard Unix builds, postmaster child processes do ClosePostmasterPorts immediately after InitPostmasterChild, that is almost immediately after being spawned. This is important because we don't want children holding open the postmaster

[COMMITTERS] pgsql: Do ClosePostmasterPorts() earlier in SubPostmasterMain().

2016-10-01 Thread Tom Lane
Do ClosePostmasterPorts() earlier in SubPostmasterMain(). In standard Unix builds, postmaster child processes do ClosePostmasterPorts immediately after InitPostmasterChild, that is almost immediately after being spawned. This is important because we don't want children holding open the postmaster

[COMMITTERS] pgsql: Do ClosePostmasterPorts() earlier in SubPostmasterMain().

2016-10-01 Thread Tom Lane
Do ClosePostmasterPorts() earlier in SubPostmasterMain(). In standard Unix builds, postmaster child processes do ClosePostmasterPorts immediately after InitPostmasterChild, that is almost immediately after being spawned. This is important because we don't want children holding open the postmaster

[COMMITTERS] pgsql: Fix bugs in contrib/pg_visibility.

2016-10-01 Thread Tom Lane
Fix bugs in contrib/pg_visibility. collect_corrupt_items() failed to initialize tuple.t_self. While HeapTupleSatisfiesVacuum() doesn't actually use that value, it does Assert that it's valid, so that the code would dump core if ip_posid chanced to be zero. (That's somewhat unlikely, which probab

[COMMITTERS] pgsql: Fix bugs in contrib/pg_visibility.

2016-10-01 Thread Tom Lane
Fix bugs in contrib/pg_visibility. collect_corrupt_items() failed to initialize tuple.t_self. While HeapTupleSatisfiesVacuum() doesn't actually use that value, it does Assert that it's valid, so that the code would dump core if ip_posid chanced to be zero. (That's somewhat unlikely, which probab

[COMMITTERS] pgsql: Copy-editing for contrib/pg_visibility documentation.

2016-10-01 Thread Tom Lane
Copy-editing for contrib/pg_visibility documentation. Add omitted names for some function parameters. Fix some minor grammatical issues. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/33596edf09516a7cab65914e16cfd6adf9fc55d1 Modified Files -- doc/src/sg

[COMMITTERS] pgsql: Copy-editing for contrib/pg_visibility documentation.

2016-10-01 Thread Tom Lane
Copy-editing for contrib/pg_visibility documentation. Add omitted names for some function parameters. Fix some minor grammatical issues. Branch -- REL9_6_STABLE Details --- http://git.postgresql.org/pg/commitdiff/b01f9ed25950f26f85c44e31b2a97d6f1ba3534e Modified Files -- doc

[COMMITTERS] pgsql: Fix misstatement in comment in Makefile.shlib.

2016-10-01 Thread Tom Lane
Fix misstatement in comment in Makefile.shlib. There is no need for "all: all-lib" to be placed before inclusion of Makefile.shlib. Makefile.global is what ensures that "all" is the default target, and we already document that that has to be included first. Per comment from Pavel Raiskup. Discu

[COMMITTERS] pgsql: Fix misstatement in comment in Makefile.shlib.

2016-10-01 Thread Tom Lane
Fix misstatement in comment in Makefile.shlib. There is no need for "all: all-lib" to be placed before inclusion of Makefile.shlib. Makefile.global is what ensures that "all" is the default target, and we already document that that has to be included first. Per comment from Pavel Raiskup. Discu

[COMMITTERS] pgsql: Fix misplacement of submake-generated-headers prerequisites.

2016-10-01 Thread Tom Lane
Fix misplacement of submake-generated-headers prerequisites. The sequence "configure; cd src/pl/plpython; make -j" failed due to trying to compile plpython's .o files before the generated headers finished building. (This is an important real-world case, since it's the typical second step when bui

[COMMITTERS] pgsql: Fix misplacement of submake-generated-headers prerequisites.

2016-10-01 Thread Tom Lane
Fix misplacement of submake-generated-headers prerequisites. The sequence "configure; cd src/pl/plpython; make -j" failed due to trying to compile plpython's .o files before the generated headers finished building. (This is an important real-world case, since it's the typical second step when bui