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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Teach the configure script to validate its --with-pgport argumen
Date: 2016-03-14 14:41:41
Message-ID: E1afTgj-0003Gc-0H@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-03-14 15:32:02 pgsql: Add missing NULL terminator to list_SECURITY_LABEL_preposition[]
Previous Message Robert Haas 2016-03-14 13:31:14 Re: Re: [COMMITTERS] pgsql: Only try to push down foreign joins if the user mapping OIDs mat