LibPQ is printing error messages to the console, even though it is expected to fail and I don’t want these messages to show up in the console.
I looked for some LibPQ option(s), but didn’t find anything suitable.
Or would it be possible somehow redirect printout to temporary stream before LibPQ execute call and after redirect it back?
Any suggestion is welcome. Thank you,