Re: Add function to return backup_label and tablespace_map

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: David Steele <david(at)pgmasters(dot)net>, Julien Rouhaud <rjuju123(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>
Subject: Re: Add function to return backup_label and tablespace_map
Date: 2022-07-15 08:11:01
Message-ID: 11b9701b-84a3-94d1-5d1c-33931e845812@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2022/07/08 23:11, David Steele wrote:
> Looks like I made that more complicated than it needed to be:
>
> select * from pg_backup_stop(...) \gset
> \pset tuples_only on
> \pset format unaligned
> \o /backup_path/backup_label
> select :'labelfile';

Thanks! I had completely forgotten \gset command.

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2022-07-15 08:12:12 Re: Allowing REINDEX to have an optional name
Previous Message Richard Guo 2022-07-15 08:03:56 Re: Problem about postponing gathering partial paths for topmost scan/join rel