Re: Re: COPY error: pqReadData() -- backend closed the channel unexpectedly
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Re: COPY error: pqReadData() -- backend closed the channel unexpectedly |
| Дата | |
| Msg-id | 1767.979063771@sss.pgh.pa.us обсуждение |
| Ответ на | Re: COPY error: pqReadData() -- backend closed the channel unexpectedly (Lee Joramo <lee.list@joramo.com>) |
| Ответы |
Re: Re: COPY error: pqReadData() -- backend closed the
channel unexpectedly
Re: Re: COPY error: pqReadData() -- backend closed the channel unexpectedly |
| Список | pgsql-general |
Lee Joramo <lee.list@joramo.com> writes:
> I have looked for a proper log file, and can find own. On inspecting the
> startup script it looks like postmaster is being involved with the
> following command:
>
> su -l postgres -c '/usr/bin/postmaster -i -S -D/var/lib/pgsql'
-S suppresses all log output, so first you need to get rid of that.
A more useful startup script would go like
su -l postgres -c \
'/usr/bin/postmaster -i -D/var/lib/pgsql >/path/to/logfile 2>&1 &'
Note the trailing & to get it to run in background --- you need that
when you don't use -S.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера