Re: Logical Replication WIP - FailedAssertion, File: "array_typanalyze.c", Line: 340

From: Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>
To: Erik Rijkers <er(at)xs4all(dot)nl>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Steve Singer <steve(at)ssinger(dot)info>, Craig Ringer <craig(at)2ndquadrant(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Logical Replication WIP - FailedAssertion, File: "array_typanalyze.c", Line: 340
Date: 2017-01-19 18:12:29
Message-ID: 2b6ee705-7399-dbd4-0bcc-72580bb13927@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 19/01/17 18:44, Erik Rijkers wrote:
>
> Could probably be whittled down to something shorter but I hope it's
> still easily reproduced.
>

Just analyze on the pg_subscription is enough. Looks like it's the
name[] type, when I change it to text[] like in the attached patch it
works fine for me.

--
Petr Jelinek http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Attachment Content-Type Size
pg_subscription-analyze-fix.diff text/x-diff 602 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Erik Rijkers 2017-01-19 18:27:54 Re: Logical Replication WIP - FailedAssertion, File: "array_typanalyze.c", Line: 340
Previous Message Tom Lane 2017-01-19 18:06:20 Re: Implement targetlist SRFs using ROWS FROM() (was Changed SRF in targetlist handling)