Review the use of PG_ErrorInfo.
authorHiroshi Inoue <h-inoue@dream.email.ne.jp>
Sun, 25 Jun 2017 04:48:35 +0000 (13:48 +0900)
committerHiroshi Inoue <h-inoue@dream.email.ne.jp>
Sun, 25 Jun 2017 05:08:25 +0000 (14:08 +0900)
commit13a3bd82c0b3afa49713d42f453243af30625e97
tree24095835b5726e835654aefa514dd03069278a2b
parent8e696e2a78a8440d33e5abe44e82de72e614212d
Review the use of PG_ErrorInfo.
1. Remove PGAPI_Error() because it is no longer used.
2. The switch PODBC_ERROR_CLEAR for the last parameter of ER_ReturnError() is no longer needed and the 1st parameter was changed from PG_ErrorInfo ** to PG_ErrorInfo *.
3. The __error_message member of PG_ErrorInfo was changed to [1] to [40] in order to handle STMT_NO_MEMORY_ERROR.
descriptor.c
environ.c
pgapifunc.h
psqlodbc.h
statement.c