Re: [WIP] pg_ping utility
Phil Sorber <phil@omniti.com>
From: Phil Sorber <phil@omniti.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Dimitri Fontaine <dimitri@2ndquadrant.fr>, Peter Eisentraut <peter_e@gmx.net>, Bruce Momjian <bruce@momjian.us>, PostgreSQL-development Hackers <pgsql-hackers@postgresql.org>
Date: 2012-12-01T20:56:11Z
Lists: pgsql-hackers
Attachments
- pg_isready_bin_v5.diff (application/octet-stream) patch v5
- pg_isready_docs_v5.diff (application/octet-stream) patch v5
On Tue, Nov 27, 2012 at 9:43 AM, Phil Sorber <phil@omniti.com> wrote: > On Tue, Nov 27, 2012 at 8:45 AM, Michael Paquier > <michael.paquier@gmail.com> wrote: >> >> >> On Tue, Nov 27, 2012 at 7:35 PM, Dimitri Fontaine <dimitri@2ndquadrant.fr> >> wrote: >>> >>> Peter Eisentraut <peter_e@gmx.net> writes: >>> > Sure, PQping is useful for this very specific use case of seeing whether >>> > the server has finished starting up. If someone came with a plausible >>> >>> Rename the utility to pg_isready? >> >> +1, the current version of the patch is already fitted for that and would >> not need extra options like the number of packages sent. > > I am 100% fine with this. I can make this change tomorrow. > >> -- >> Michael Paquier >> http://michael.otacoo.com > > Sorry I haven't jumped in on this thread more, I have limited > connectivity where I am. Here is the updated patch. I renamed it, but using v5 to stay consistent.