Re: Problem getting postmaster PID in pg_regress

From: Eric E <whalesuit(at)gmail(dot)com>
To: "PostgreSQL General (EN)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Problem getting postmaster PID in pg_regress
Date: 2006-07-21 18:45:15
Message-ID: 44C120BB.8090808@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sorry - that semicolon is an artifact of a change I made - I attempted
to put
postmaster_pid=$! inside the executing statement, but as I discovered,
if you put it before last &, you
get the backgrounded process before postmaster.

I'm presently checking out how the SLES init scripts work, but any
thoughts would be very welcome.

Thanks,

EE

Tom Lane wrote:
> Eric E <whalesuit(at)gmail(dot)com> writes:
>
>> I chased the problem down to the following lines in pg_regress:
>>
>
>
>> "$bindir/postmaster" -D "$PGDATA" -F $postmaster_options
>> > "$LOGDIR/postmaster.log"; 2>&1 &
>>
> ^
>
> Is there really a semicolon there? There should not be (and isn't in
> my copy of 8.1)
>
> regards, tom lane
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Erik Jones 2006-07-21 20:49:02 Re: Impact of vacuum full...
Previous Message Scott Marlowe 2006-07-21 17:58:38 Re: Impact of vacuum full...