Re: Fix handling of unlogged tables in FOR ALL TABLES publications

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>, Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fix handling of unlogged tables in FOR ALL TABLES publications
Date: 2019-03-25 08:04:05
Message-ID: 621516ad-7adc-9136-0a9b-21bce6e893d6@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

So perhaps push the check down to GetRelationPublicationActions()
instead. That way we don't have to patch up two places and everything
"just works" even for possible other callers. See attached patch.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
v2-0001-Fix-handling-of-unlogged-tables-in-FOR-ALL-TABLES.patch text/plain 1.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Steele 2019-03-25 08:06:04 Re: Re: libpq compression
Previous Message David Steele 2019-03-25 07:57:13 Re: Re: Reduce amount of WAL generated by CREATE INDEX for gist, gin and sp-gist