Re: Handling dropped attributes in pglogical_proto - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Handling dropped attributes in pglogical_proto
Date
Msg-id CAB7nPqQ9EzcAE+DHG3b-SvDxxDtDXXpnB4H0pq7fKGpUVO-B5g@mail.gmail.com
Whole thread Raw
In response to Handling dropped attributes in pglogical_proto  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Responses Re: Handling dropped attributes in pglogical_proto
List pgsql-hackers
On Wed, Sep 28, 2016 at 11:25 PM, Konstantin Knizhnik
<k.knizhnik@postgrespro.ru> wrote:
> But if table was just altered and some attribute was removed from the table,
> then rel->natts can be greater than natts.

This is part of pglogical, so you may want to reply on the dedicated
thread or send directly a patch to them. By the way, this code path
may need to care as well about attisdropped. It is never good not to
check for it.
-- 
Michael



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Add support for restrictive RLS policies
Next
From: Michael Paquier
Date:
Subject: Re: Password identifiers, protocol aging and SCRAM protocol