Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Robert Haas <robertmhaas@gmail.com>, Craig Ringer <craig@postnewspapers.com.au>, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, Dave Page <dpage@pgadmin.org>, pgsql-hackers@postgresql.org
Date: 2010-12-16T15:54:44Z
Lists: pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Thu, Dec 16, 2010 at 15:56, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I think the proposal for such a switch is unnecessary lily-gilding,

> Hmm. What we could do is have pg_ctl chdir() into the data directory
> on start.

See above.  You're solving a problem that probably doesn't exist,
and introducing a pile of new ones in the process --- for example,
this will break commands that use relative paths for either the
postmaster executable or the data directory itself.

			regards, tom lane