Re: BUG #15552: Unexpected error in COPY to a foreign table in a transaction
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Cc: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>, Luis Carril <luis.carril@swarm64.com>, "pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>, PG Bug reporting form <noreply@postgresql.org>, Michael Paquier <michael.paquier@gmail.com>
Date: 2018-12-19T08:34:22Z
Lists: pgsql-bugs
On Wed, Dec 19, 2018 at 04:49:19PM +0900, Etsuro Fujita wrote: > BTW I noticed that this error occurs not only for foreign tables but for > views with INSTEAD OF INSERT triggers. Here is an example on HEAD: > > To fix this I think we would also need the same treatment for the view case. Yes, this means an extra relkind check for views. Would you like to update the patch yourself? -- Michael
Commits
-
Disable WAL-skipping optimization for COPY on views
- 15f69279e0e8 10.7 landed
-
Disable WAL-skipping optimization for COPY on views and foreign tables
- ff9c22266906 11.2 landed
- bf491a9073e1 12.0 landed