Re: [HACKERS] pg_archive_bypass

2010-07-05 Thread Dimitri Fontaine
Bruce Momjian writes: > Turn out 'REM' acts like /bin/true on Windows. I have documented that > fact in the attached, applied patch. I guess that kills it for the "pg_archive_bypass" internal command, but in a good way. Thanks! Regards, -- Dimitri Fontaine PostgreSQL DBA, Architecte Damn, I s

Re: [HACKERS] pg_archive_bypass

2010-06-29 Thread Bruce Momjian
Dimitri Fontaine wrote: > Hi, > > I tend to consider it a bug that there's no known way under windows to > use the same trick as under Unix by using '/usr/bin/true' as your > archive command. And this Unix trick itself does feel like a hack. > > Also I'd very much like to be able to recommend (ev

Re: [HACKERS] pg_archive_bypass

2010-06-14 Thread Greg Stark
On Mon, Jun 14, 2010 at 1:55 PM, Dimitri Fontaine wrote: > What about /usr/bin/true, or a simple archive where you cp in a given > location (which could happen to be a remote server thanks to unix > network file systems or windows shares), etc. It seems to me those are > existing problem that we s

Re: [HACKERS] pg_archive_bypass

2010-06-14 Thread Dimitri Fontaine
Heikki Linnakangas writes: > On 14/06/10 13:39, Dimitri Fontaine wrote: >> I tend to consider it a bug that there's no known way under windows to >> use the same trick as under Unix by using '/usr/bin/true' as your >> archive command. And this Unix trick itself does feel like a hack. >> >> Also I'

Re: [HACKERS] pg_archive_bypass

2010-06-14 Thread Heikki Linnakangas
On 14/06/10 13:39, Dimitri Fontaine wrote: I tend to consider it a bug that there's no known way under windows to use the same trick as under Unix by using '/usr/bin/true' as your archive command. And this Unix trick itself does feel like a hack. Also I'd very much like to be able to recommend (

Re: [HACKERS] pg_archive_bypass

2010-06-14 Thread Simon Riggs
On Mon, 2010-06-14 at 12:39 +0200, Dimitri Fontaine wrote: > I tend to consider it a bug that there's no known way under windows to > use the same trick as under Unix by using '/usr/bin/true' as your > archive command. And this Unix trick itself does feel like a hack. > > Also I'd very much like

[HACKERS] pg_archive_bypass

2010-06-14 Thread Dimitri Fontaine
Hi, I tend to consider it a bug that there's no known way under windows to use the same trick as under Unix by using '/usr/bin/true' as your archive command. And this Unix trick itself does feel like a hack. Also I'd very much like to be able to recommend (even if not change the official defaults