(2018/12/19 17:34), Michael Paquier wrote:
> 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.
I think so too. I think it might be better to add regression tests for
the view case as well, though.
> Would you like to
> update the patch yourself?
I'd be happy if you worked on that.
Best regards,
Etsuro Fujita