ChatGPT shows this:
SQLGetDiagRec(
SQL_HANDLE_STMT, // statement handle
hstmt,
iRecord, // record number, starting at 1
SqlState,
&NativeError,
MessageText,
BufferLength,
&TextLengthPtr
);
Dave Cramer
www.postgres.rocks
Hi, ALL,
How do I do that?
Google showed only the libpq way...
Thank you.