pgsql: Teach the configure script to validate its --with-pgport argumen - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Teach the configure script to validate its --with-pgport argumen
Date
Msg-id E1afTgj-0003Gc-0H@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Teach the configure script to validate its --with-pgport argument.

Previously, configure would take any string, including an empty string,
leading to obscure compile failures in guc.c.  It seems worth expending
a few lines of code to ensure that the argument is a decimal number
between 1 and 65535.

Report and patch by Jim Nasby; reviews by Alex Shulgin, Peter Eisentraut,
Ivan Kartyshov

Branch
------
master

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

Modified Files
--------------
configure    | 11 +++++++++++
configure.in | 11 +++++++++++
2 files changed, 22 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Mop-up for setting minimum Tcl version to 8.4.
Next
From: Tom Lane
Date:
Subject: pgsql: Add missing NULL terminator to list_SECURITY_LABEL_preposition[]