Re: [BUG] Logical replica crash if there was an error in a function.

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Anton A. Melnikov" <aamelnikov@inbox.ru>
Cc: vignesh C <vignesh21@gmail.com>, Andres Freund <andres@anarazel.de>, Amit Kapila <amit.kapila16@gmail.com>, Masahiko Sawada <sawada.mshk@gmail.com>, Michael Paquier <michael@paquier.xyz>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Maxim Orlov <orlovmg@gmail.com>
Date: 2023-04-03T18:49:17Z
Lists: pgsql-hackers
"Anton A. Melnikov" <aamelnikov@inbox.ru> writes:
> Now there are no any pending questions, so moved it to RFC.

I did not think this case was worth memorializing in a test before,
and I still do not.  I'm inclined to reject this patch.

			regards, tom lane



Commits

  1. Avoid crash after function syntax error in a replication worker.