Re: Restore replication settings when modifying a field type - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Restore replication settings when modifying a field type
Date
Msg-id 40e3fb7b-6362-6438-03d1-6b7f9dc0f962@2ndquadrant.com
Whole thread Raw
In response to Re: Restore replication settings when modifying a field type  (Quan Zongliang <quanzongliang@foxmail.com>)
Responses Re: Restore replication settings when modifying a field type  (Euler Taveira <euler.taveira@2ndquadrant.com>)
List pgsql-hackers
On 2020-02-11 00:38, Quan Zongliang wrote:
> new patch attached.

I didn't like so much how the updating of the replica identity was 
hacked into the middle of ATRewriteCatalogs().  I have an alternative 
proposal in the attached patch that queues up an ALTER TABLE ... REPLICA 
IDENTITY command into the normal ALTER TABLE processing.  I have also 
added tests to the test suite.

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

Attachment

pgsql-hackers by date:

Previous
From: tushar
Date:
Subject: Re: backup manifests
Next
From: Daniel Gustafsson
Date:
Subject: Re: allow trigger to get updated columns