Alexander Lakhin <exclusion@gmail.com> writes:
> While trying to use sqlsmith with postgres compiled from the master
> branch, I've found that the PQerrorMessage() function now returns
> non-informational but not empty error message after the successful
> PQconnectdb() call.
Yeah, see thread here:
https://www.postgresql.org/message-id/20210506162651.GJ27406%40telsasoft.com
sqlsmith is definitely Doing It Wrong there, but there's a
reasonable question whether such coding is common.
regards, tom lane