Re: strange pg_ctl's behavior

From: Richard Huxton <dev(at)archonet(dot)com>
To: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: strange pg_ctl's behavior
Date: 2008-03-11 10:46:17
Message-ID: 47D662F9.2070304@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Richard Huxton wrote:
>
> Hmm - that does seem to be the case. I added a line to print "connstr"
> along with the "."
> waiting for server to start....dbname=postgres port=5483 -i
> connect_timeout=5.
>
> The code looks fine to my uneducated eye though (bin/pg_ctl/pg_ctl.c
> test_postmaster_connection starting at line 412. I think the issue must
> be at lines 425..443)

Line 52:
#define WHITESPACE "\f\n\r\t\v" /* as defined by isspace() */

We've defined whitespace as not including a space character :-/

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2008-03-11 11:00:22 Re: LISTEN vs. two-phase commit
Previous Message Heikki Linnakangas 2008-03-11 10:25:18 Re: CopyReadLineText optimization