Michael Paquier wrote: > On Fri, Jun 24, 2016 at 11:51 AM, Tsunakawa, Takayuki > <tsunakawa.ta...@jp.fujitsu.com> wrote: > >> From: pgsql-hackers-ow...@postgresql.org > >> [mailto:pgsql-hackers-ow...@postgresql.org] On Behalf Of Michael Paquier > >> Sent: Friday, June 24, 2016 11:37 AM > >> On Fri, Jun 24, 2016 at 11:33 AM, Craig Ringer <cr...@2ndquadrant.com> > >> wrote: > >> > It might be worth testing that out and adding an initdb startup > >> > flag to create the directory, since initdb is such a PITA to > >> > debug. > >> > >> I was more thinking about putting that under -DDEBUG for example. > > > > I think just the existing option -d (--debug) and/or -n (--no-clean) > > would be OK. > > If the majority thinks that an option switch is more adapted, I won't > fight it strongly. Just please let's not mess up with the behavior of > the existing options.
I think creating crashdumps/ when both -d and -n are specified is a bit odd but reasonable. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers