Skip site navigation (1) Skip section navigation (2)

pgsql: Add more detail to error message for invalid arguments forserve

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add more detail to error message for invalid arguments forserve
Date: 2012-03-11 00:05:59
Message-ID: E1S6WIR-00036t-Bk@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Add more detail to error message for invalid arguments for server process

It now prints the argument that was at fault.

Also fix a small misbehavior where the error message issued by
getopt() would complain about a program named "--single", because
that's what argv[0] is in the server process.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/86947e666d39229558311d7b0be45608fd071ed8

Modified Files
--------------
src/backend/tcop/postgres.c |   31 ++++++++++++++++++++++---------
1 files changed, 22 insertions(+), 9 deletions(-)

pgsql-committers by date

Next:From: Tatsuo IshiiDate: 2012-03-11 10:19:33
Subject: pgsql: Add description for --no-locale and --text-search-config.
Previous:From: Tom LaneDate: 2012-03-10 23:37:07
Subject: pgsql: Restructure SPGiST opclass interface API to supportwhole-index

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group