pg_basebackup --xlog compatibility break

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_basebackup --xlog compatibility break
Date: 2012-05-28 20:11:03
Message-ID: 1338235863.24935.27.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

In 9.1, the pg_basebackup option --xlog takes no argument. In 9.2, it
takes a required argument. I think such compatibility breaks should be
avoided, especially in client-side programs. Now you can't write a
script running pg_basebackup that works with 9.1 and 9.2, if you need to
include the WAL.

I think the behavior of -x/--xlog should be restored to the state of
9.1, and a new option should be added to select between the fetch and
stream methods. (With a suitable default, this would also increase
usability a bit.)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-05-28 20:23:06 Re: Bogus nestloop rows estimate in 8.4.7
Previous Message Robert Haas 2012-05-28 20:06:56 Re: pg_upgrade libraries check