Re: [HACKERS] recovery_connections cannot start

2010-04-27 Thread Robert Haas
On Apr 27, 2010, at 9:20 AM, Simon Riggs wrote: > On Tue, 2010-04-27 at 15:10 +0200, Dimitri Fontaine wrote: >> Robert Haas writes: >>> Treating the string "true" as a special case seems like a kludge to >>> me. Maybe a robust set of internal commands wouldn't be a kludge, >>> but >>> that's not

Re: [HACKERS] recovery_connections cannot start

2010-04-27 Thread Simon Riggs
On Tue, 2010-04-27 at 15:10 +0200, Dimitri Fontaine wrote: > Robert Haas writes: > > Treating the string "true" as a special case seems like a kludge to > > me. Maybe a robust set of internal commands wouldn't be a kludge, but > > that's not what's being proposed here. I guess it's just a matter

Re: [HACKERS] recovery_connections cannot start

2010-04-27 Thread Dimitri Fontaine
Robert Haas writes: > Treating the string "true" as a special case seems like a kludge to > me. Maybe a robust set of internal commands wouldn't be a kludge, but > that's not what's being proposed here. I guess it's just a matter of > opinion. I don't see how to have internal commands without h

Re: [HACKERS] recovery_connections cannot start

2010-04-27 Thread Robert Haas
On Tue, Apr 27, 2010 at 4:07 AM, Dimitri Fontaine wrote: > Robert Haas writes: >>> On Mon, 2010-04-26 at 10:41 +0200, Dimitri Fontaine wrote: Would it be possible to have "internal" commands there, as for example cd is in my shell, or test, or time, or some more ? That would a

Re: [HACKERS] recovery_connections cannot start

2010-04-27 Thread Dimitri Fontaine
Robert Haas writes: >> On Mon, 2010-04-26 at 10:41 +0200, Dimitri Fontaine wrote: >>> Would it be possible to have "internal" commands there, as for example >>> cd is in my shell, or test, or time, or some more ? >>> >>> That would allow for providing a portable /usr/bin/true command as far >>> as

Re: [HACKERS] recovery_connections cannot start

2010-04-26 Thread Robert Haas
On Mon, Apr 26, 2010 at 6:08 AM, Simon Riggs wrote: > On Mon, 2010-04-26 at 10:41 +0200, Dimitri Fontaine wrote: >> Tom Lane writes: >> >   The only workable >> > alternative I can see to keeping archive_mode is to tell people to >> > set archive_command to something like /usr/bin/true ... which

Re: [HACKERS] recovery_connections cannot start

2010-04-26 Thread Simon Riggs
On Mon, 2010-04-26 at 10:41 +0200, Dimitri Fontaine wrote: > Tom Lane writes: > > The only workable > > alternative I can see to keeping archive_mode is to tell people to > > set archive_command to something like /usr/bin/true ... which is not > > simpler, especially not on Windows. > > Would i

Re: [HACKERS] recovery_connections cannot start

2010-04-26 Thread Dimitri Fontaine
Tom Lane writes: > The only workable > alternative I can see to keeping archive_mode is to tell people to > set archive_command to something like /usr/bin/true ... which is not > simpler, especially not on Windows. Would it be possible to have "internal" commands there, as for example cd is in