[GENERAL] Where the core files are generated in running postgres server

2014-08-04 Thread M Tarkeshwar Rao
Hi all, I want to know the exact path of the core files generated by Postgres server during crash? Can I configure it or generate it? Regards Tarkeshwar -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription:

Re: [GENERAL] Where the core files are generated in running postgres server

2014-08-04 Thread Asif Naeem
Hi Tarkeshwar, If you are using Unix/Linux following link might be useful to you i.e. https://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Linux/BSD#Enabling_core_dumps Regards, Muhammad Asif Naeem On Mon, Aug 4, 2014 at 3:19 PM, M Tarkeshwar Rao

Re: [GENERAL] Where the core files are generated in running postgres server

2014-08-04 Thread M Tarkeshwar Rao
Hi Asif, Is it always creating core files on /var/lib/postgresql/8.4/main path for ubontu? i.e. in data directory. Regards Tarkeshwar From: Asif Naeem [mailto:anaeem...@gmail.com] Sent: 04 August 2014 16:01 To: M Tarkeshwar Rao Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL] Where the

Re: [GENERAL] Where the core files are generated in running postgres server

2014-08-04 Thread Michael Paquier
On Mon, Aug 4, 2014 at 7:56 PM, M Tarkeshwar Rao m.tarkeshwar@ericsson.com wrote: Is it always creating core files on /var/lib/postgresql/8.4/main path for ubuntu? I don't recall for ubuntu, but on Linux for sure you can see how a core file is shaped by looking at