Fix two src/test/modules Makefiles
authorAlvaro Herrera <[email protected]>
Thu, 8 Sep 2016 17:39:05 +0000 (14:39 -0300)
committerAlvaro Herrera <[email protected]>
Thu, 8 Sep 2016 17:39:05 +0000 (14:39 -0300)
commite012e7845423a6428ce82bf3a21f6efc958351fb
tree4adfd7a306ea576b7cb06bc69dd23df6fc40d27d
parent31eb14504de311c98db2d1306ac61427bcdad863
Fix two src/test/modules Makefiles

commit_ts and test_pg_dump were declaring targets before including the
PGXS stanza, which meant that the "all" target customarily defined as
the first (and therefore default target) was not the default anymore.
Fix that by moving those target definitions to after PGXS.

commit_ts was initially good, but I broke it in commit 9def031bd2;
test_pg_dump was born broken, probably copying from commit_ts' mistake.

In passing, fix a comment mistake in test_pg_dump/Makefile.

Backpatch to 9.6.

Noted by Tom Lane.
src/test/modules/commit_ts/Makefile
src/test/modules/test_pg_dump/Makefile