[HACKERS] invalid combination of options "-D - -F t -X stream" in pg_basebackup - Mailing list pgsql-hackers

From Fujii Masao
Subject [HACKERS] invalid combination of options "-D - -F t -X stream" in pg_basebackup
Date
Msg-id CAHGQGwEPM5dJ3DMOexn82j0sMYTb9TtfqxkBAFMEuZ4+84aMVQ@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] invalid combination of options "-D - -F t -X stream" in pg_basebackup
List pgsql-hackers
Hi,

Isn't it better to forbid the conbination of the options "-D -", "-F t" and
"-X stream" in pg_basebackup? This is obviously invalid setting and the docs
warns this as follows. But currently users can specify such setting and
pg_basebackup can exit unexpectedly with an error.

-----------------------
If the value - (dash) is specified as target directory, the tar contents will
be written to standard output, suitable for piping to for example gzip.
This is only possible if the cluster has no additional tablespaces.
-----------------------

Regards,

-- 
Fujii Masao



pgsql-hackers by date:

Previous
From: Andrew Borodin
Date:
Subject: Re: [HACKERS] pg_background contrib module proposal
Next
From: Magnus Hagander
Date:
Subject: Re: [HACKERS] invalid combination of options "-D - -F t -X stream" in pg_basebackup