pgsql: Fix two src/test/modules Makefiles

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix two src/test/modules Makefiles
Date: 2016-09-08 17:40:11
Message-ID: E1bi3J5-0006cy-EQ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/e012e7845423a6428ce82bf3a21f6efc958351fb

Modified Files
--------------
src/test/modules/commit_ts/Makefile | 10 +++++-----
src/test/modules/test_pg_dump/Makefile | 12 ++++++------
2 files changed, 11 insertions(+), 11 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2016-09-08 23:54:09 pgsql: Fix mdtruncate() to close fd.c handle of deleted segments.
Previous Message Tom Lane 2016-09-08 17:12:15 pgsql: Allow pg_dump to dump non-extension members of an extension-owne