From: | Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> |
---|---|
To: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
Cc: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: logical replication: \dRp+ and "for all tables" |
Date: | 2017-06-16 07:38:14 |
Message-ID: | CAD21AoAdx0y31hkKzK=-dB=3TzEaJQt54hsLBfBS+CdX6XuXfQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Jun 15, 2017 at 11:49 PM, Peter Eisentraut
<peter(dot)eisentraut(at)2ndquadrant(dot)com> wrote:
> On 6/10/17 02:02, Jeff Janes wrote:
>> On Fri, Jun 9, 2017 at 10:20 PM, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com
>> <mailto:sawada(dot)mshk(at)gmail(dot)com>> wrote:
>>
>> On Sat, Jun 10, 2017 at 7:29 AM, Jeff Janes <jeff(dot)janes(at)gmail(dot)com
>> <mailto:jeff(dot)janes(at)gmail(dot)com>> wrote:
>> > If I create a publication "for all tables", \dRp+ doesn't indicate it is for
>> > all tables, it just gives a list of the tables.
>> >
>> > So it doesn't distinguish between a publication specified to be for all
>> > tables (which will be dynamic regarding future additions), and one which
>> > just happens to include all the table which currently exist.
>> >
>> > That seems unfortunate. Should the "for all tables" be included as another
>> > column in \dRp and \dRp+, or at least as a footnote tag in \dRp+ ?
>> >
>>
>> +1. I was thinking the same. Attached patch adds "All Tables" column
>> to both \dRp and \dRp+.
>>
>>
>> Looks good to me. Attached with regression test expected output changes.
>
> I have committed your patch and removed the "Tables" footer for
> all-tables publications, as was discussed later in the thread.
Thank you!
Regards,
--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
From | Date | Subject | |
---|---|---|---|
Next Message | Rushabh Lathia | 2017-06-16 07:49:38 | RLS policy not getting honer while pg_dump on declarative partition |
Previous Message | Surafel Temesgen | 2017-06-16 07:29:49 | Re: Support to COMMENT ON DATABASE CURRENT_DATABASE |