pgsql: Exclude special values in recovery_target_time

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Exclude special values in recovery_target_time
Date: 2017-09-07 11:58:16
Message-ID: E1dpvRo-0006Oc-VS@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Exclude special values in recovery_target_time

recovery_target_time accepts timestamp input, though
does not allow use of special values, e.g. “today”.
Report a useful error message for these cases.

Reported-by: Piotr Stefaniak
Author: Simon Riggs
Discussion: https://postgr.es/m/CANP8+jJdKA+BkkYLWz9zAm16Y0s2ExBv0WfpAwXdTpPfWnA9Bg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f06588a8e6d1e2bf56f9dfa58d97e7956050ddc7

Modified Files
--------------
src/backend/access/transam/xlog.c | 12 ++++++++++++
1 file changed, 12 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-09-07 12:50:06 pgsql: Further marginal hacking on generic atomic ops.
Previous Message Alvaro Herrera 2017-09-07 09:42:26 Re: Re: [COMMITTERS] pgsql: pg_rewind: Fix some problems when copying files >2GB.