Hi Inoue-san,
Thank you for replying.
> Why do you set client_min_messages to fatal in the first place?
Actually, my customer used PostgreSQL with default settings at first.
He wanted to reduce server logs later and set log_min_messages = fatal and client_min_messages = fatal.
I know client_min_messages does not reduce server logs and recommended him to change client_min_messages again.
Anyway, I think it is a problem that SQLExecDirectW() returns SQL_SUCCESS even if sql finishes with error.
Regards,
Ryohei Takahashi