Re: BUG #16717: ERRORDATA_STACK_SIZE exceeded after 5 times of the same command

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: emmanuel(dot)ona(at)seetickets(dot)fr
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16717: ERRORDATA_STACK_SIZE exceeded after 5 times of the same command
Date: 2020-11-13 19:03:03
Message-ID: 393736.1605294183@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> this behaviour drives me crazy, using a data wrapper (mysql_fdw) from a
> mariadb instance to initialize a postgres foreign table, i'm facing the
> following issue after running the fifth's time the same "import foreign
> schema..." command.

Can't reproduce any such thing with postgres_fdw, so I suppose this
is a bug in mysql_fdw, not IMPORT FOREIGN SCHEMA generally. It is
probably dealing with some situation by catching an error, and then
forgetting to clean up after itself (with FlushErrorState). I'd
suggest reporting this to whatever the contact address for mysql_fdw
is.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2020-11-13 19:08:39 Re: BUG #16714: INSERT ON CONFLICT DO UPDATE fails to infer constraint if it's not at top-level partition
Previous Message Andy S 2020-11-13 18:30:39 Re: BUG #16714: INSERT ON CONFLICT DO UPDATE fails to infer constraint if it's not at top-level partition