Thread: pgsql: Teach the configure script to validate its --with-pgport argumen

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(+)