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

pgsql: Add PQping and PQpingParams to libpq to allow detection of thes

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add PQping and PQpingParams to libpq to allow detection of thes
Date: 2010-11-25 18:10:12
Message-ID: E1PLgGq-0005Bl-5G@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Add PQping and PQpingParams to libpq to allow detection of the server's
status, including a status where the server is running but refuses a
postgres connection.

Have pg_ctl use this new function.  This fixes the case where pg_ctl
reports that the server is not running (cannot connect) but in fact it
is running.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=afd7d9adca971d9aae97e87ce617d8608d25ab10

Modified Files
--------------
doc/src/sgml/libpq.sgml           |   68 +++++++++++++++++++++++++++++++++++++
src/bin/pg_ctl/pg_ctl.c           |   29 +++++++---------
src/interfaces/libpq/exports.txt  |    2 +
src/interfaces/libpq/fe-connect.c |   53 ++++++++++++++++++++++++++++
src/interfaces/libpq/libpq-fe.h   |   10 +++++
5 files changed, 146 insertions(+), 16 deletions(-)

pgsql-committers by date

Next:From: Robert HaasDate: 2010-11-25 19:25:37
Subject: Re: [COMMITTERS] How strings are sorted by LC_COLLATE specifically?
Previous:From: Bruce MomjianDate: 2010-11-25 17:57:34
Subject: pgsql: Fix getaddrinfo() in pgport to use proper parameters,as detecte

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