invalid combination of options "-D - -F t -X stream" in pg_basebackup

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: invalid combination of options "-D - -F t -X stream" in pg_basebackup
Date: 2016-12-19 16:39:59
Message-ID: CAHGQGwEPM5dJ3DMOexn82j0sMYTb9TtfqxkBAFMEuZ4+84aMVQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2016-12-19 16:43:14 Re: invalid combination of options "-D - -F t -X stream" in pg_basebackup
Previous Message Andrew Borodin 2016-12-19 16:30:32 Re: pg_background contrib module proposal