Magnus Hagander <magnus@hagander.net> writes:
> On Tue, Nov 23, 2010 at 15:09, Craig Ringer <craig@postnewspapers.com.au> wrote:
>> Yep. That's how I'd want to do it in 9.1 - test for the directory and use
>> that to decide whether to set the handler during early backend startup. That
>> way you don't need a GUC, and should be able to load it *very* early in
>> backend startup.
> Or you set the handler always, and have the handler only actually
> create the dump if the directory exists.
+1 for that way.
regards, tom lane