pgsql: Fix two src/test/modules Makefiles - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Fix two src/test/modules Makefiles
Date
Msg-id E1bi3J5-0006cx-EN@gemulon.postgresql.org
Whole thread Raw
List 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/19acee8c5adb68b96222e41c084efbc9b31d397a

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


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix two src/test/modules Makefiles
Next
From: Andres Freund
Date:
Subject: pgsql: Fix mdtruncate() to close fd.c handle of deleted segments.