Re: Shouldn't postgres_fdw report warning when it gives up getting result from foreign server? - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Shouldn't postgres_fdw report warning when it gives up getting result from foreign server?
Date
Msg-id 0317edf0-6746-ddad-cab1-649f8302b502@oss.nttdata.com
Whole thread Raw
In response to Re: Shouldn't postgres_fdw report warning when it gives up getting result from foreign server?  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Responses Re: Shouldn't postgres_fdw report warning when it gives up getting result from foreign server?
List pgsql-hackers

On 2021/11/20 1:38, Bharath Rupireddy wrote:
> It reports "remote SQL command: (cancel request)" which isn't a sql
> query, but it looks okay to me as we report (cancel request). The
> pgfdw_get_cleanup_result_v1 patch LGTM.

BTW, we can hide the message "remote SQL command: .." in cancel request case,
but which would make the debug and troubleshooting harder. So I decided to
use the string "(cancel request)" as SQL command string. Probably what string
should be used as SQL command might be debatable.


> I think we can discuss this refactoring patch separately. Thoughts?

Yes! I will consider again if it's worth doing the refactoring,
if yes, I will start new thread for the discussion for that.

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: issue in pgfdw_report_error()?
Next
From: Richard Guo
Date:
Subject: Re: A spot of redundant initialization of brin memtuple