Re: Problem getting postmaster PID in pg_regress

Поиск
Список
Период
Сортировка
От Eric E
Тема Re: Problem getting postmaster PID in pg_regress
Дата
Msg-id 44C120BB.8090808@gmail.com
обсуждение исходный текст
Ответ на Re: Problem getting postmaster PID in pg_regress  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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@gmail.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
>
>


В списке pgsql-general по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Impact of vacuum full...
Следующее
От: Erik Jones
Дата:
Сообщение: Re: Impact of vacuum full...