From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | ruben <ruben20(at)superguai(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: SQL command to dump the contents of table failed: PQendcopy() |
Date: | 2005-09-28 11:11:03 |
Message-ID: | 20050928111103.GF2436@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)svana(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2005-09-28 11:11:13 | Re: Triggers after a rule |
Previous Message | Martijn van Oosterhout | 2005-09-28 11:05:44 | Re: trigger self recursion |