Re: Segmentation fault when changing view

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: vlad@crystalballinc.com
Cc: pgsql-bugs@postgreSQL.org
Date: 2001-04-16T23:53:39Z
Lists: pgsql-bugs
Vlad Seryakov <vlad@crystalballinc.com> writes:
> Is it possible to get core file, i couldn't find how to setup this.

A crashed backend should leave a core file in $PGDATA/base/YOURDB/core

If you don't see a core file in that directory, it's possible that
the postmaster was started with "ulimit -c 0" to forbid core dumping.
(I think most Linuxen run their boot scripts with this setting.)
Restart the postmaster with "ulimit -c unlimited" to allow core dumping.
You might want to add that command to the boot script for Postgres.

			regards, tom lane