Re: SQL command to dump the contents of table failed: PQendcopy()

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: SQL command to dump the contents of table failed: PQendcopy()
Дата
Msg-id 20050928111103.GF2436@svana.org
обсуждение исходный текст
Ответ на Re: SQL command to dump the contents of table failed: PQendcopy()  (ruben <ruben20@superguai.com>)
Ответы Re: SQL command to dump the contents of table failed: PQendcopy()  (ruben <ruben20@superguai.com>)
Список pgsql-general
On Wed, Sep 28, 2005 at 11:40:11AM +0200, ruben wrote:
> Hi Tom:
>
> No way to get the core dump, this is what I did:
>
> 1) Add "ulimit" to /etc/rc.d/init.d/postgresql just before pg_ctl start
> in the "start" section of the script:

<snip>

> 2) Restart postmaster
>
>    /etc/rc.d/init.d/postgresql restart

Does that run the start section? Maybe you need to stop/start. Maybe
the bash_profile/bashrc for the postgres user resets the core limit.

> 4) Search core file:
>
>    -bash-2.05b$ find /usr/local/pgsql/ -name '*core*' -print
>    -bash-2.05b$

It'll be under $PGDATA, where is that? It may be under
/var/lib/postgres, depending on how you installed...

--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: trigger self recursion
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Triggers after a rule