On 10/02/2013 05:47 PM, Michael Paquier wrote: > On Wed, Oct 2, 2013 at 11:31 PM, Magnus Hagander <mag...@hagander.net> wrote: >> Right now, if you use >> >> pg_basebackup -Ft -D - >> >> you get a tarfile, written to stdout, for redirection. >> >> However, if you use: >> >> pg_basebackup -Fp -D - >> >> you get a plaintext (unpackaged) backup, in a directory called "-". >> >> I can't think of a single usecase where this is a good idea. Therefor, >> I would suggest we simply throw an error in this case, instead of >> creating the directory. Only for the specific case of specifying >> exactly "-" as a directory. >> >> Comments?
I can see fixing this going forwards, but it doesn't seem worth backpatching. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers