On Wed, Nov 10, 2021 at 01:58:58PM +0530, Dinesh Chemuduru wrote: > The proposed statements are much clear, but will wait for other’s > suggestion, and will fix it accordingly.
This update was three weeks ago, and no new version has been provided, so I am marking this as returned with feedback in the CF app. If you can work more on this proposal and send an updated patch, please feel free to resubmit. -- Michael
Hi,
+int
+set_errquery(const char *query)
Agreed,
The other error log relateds functions are also not following the void as return type and they are using the int.
So, I tried to submit the same behaviour.
See other error log related functions in src/backend/utils/error/elog.c
Since the return value is ignored, the return type can be void.