Re: The pg_stop_backup will return one row with three values. - Mailing list pgsql-docs

From Dave Cramer
Subject Re: The pg_stop_backup will return one row with three values.
Date
Msg-id CADK3HH+-H-h57FBFJ+S-yhCM7JX8eCgWxNghzpAeaMdLTDdyxg@mail.gmail.com
Whole thread Raw
In response to Re: The pg_stop_backup will return one row with three values.  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: The pg_stop_backup will return one row with three values.  (Michael Paquier <michael@paquier.xyz>)
Re: The pg_stop_backup will return one row with three values.  (Julien Rouhaud <rjuju123@gmail.com>)
List pgsql-docs




On Mon, 20 Dec 2021 at 07:03, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
On Sun, 2021-12-19 at 21:08 +0000, PG Doc comments form wrote:
> Page: https://www.postgresql.org/docs/14/continuous-archiving.html
> Description:
>
> It appears that this may be out of date.
>
> pg_stop_backup
> ---------------------------------------------------------------------------
>  (0/2000138,"START WAL LOCATION: 0/2000028 (file 000000010000000000000002)+
>  CHECKPOINT LOCATION: 0/2000060                                           +
>  BACKUP METHOD: streamed                                                  +
>  BACKUP FROM: primary                                                     +
>  START TIME: 2021-12-19 13:39:19 EST                                      +
>  LABEL: label                                                             +
>  START TIMELINE: 1                                                        +
>  ","")
>
>
> Seems to be returning 7 values ?

No, that is one value with 7 newlines in it.


The docs say it returns 3 values ? 

Dave

pgsql-docs by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: The pg_stop_backup will return one row with three values.
Next
From: Michael Paquier
Date:
Subject: Re: The pg_stop_backup will return one row with three values.