Re: Shouldn't postgres_fdw report warning when it gives up getting result from foreign server?
Fujii Masao <masao.fujii@oss.nttdata.com>
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-11-22T02:55:25Z
Lists: 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
Commits
-
postgres_fdw: Report warning when timeout expires while getting query result.
- 815d61fcd485 15.0 landed