backend (sql_strerror). Fixe bug #989
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5763
91ce42f0-d328-0410-95d8-
f526ca767f89
#define sql_fetch_row(x) my_postgresql_fetch_row(x)
#define sql_query(x, y) my_postgresql_query((x), (y))
#define sql_close(x) PQfinish((x)->db)
-#define sql_strerror(x) PQresultErrorMessage((x)->result)
+#define sql_strerror(x) PQerrorMessage((x)->db)
#define sql_num_rows(x) ((unsigned) PQntuples((x)->result))
#define sql_data_seek(x, i) my_postgresql_data_seek((x), (i))
#define sql_affected_rows(x) ((unsigned) atoi(PQcmdTuples((x)->result)))
Technical notes on version 2.3
General:
+18Oct07
+ebl Use PQerrorMessage instead of PQresultErrorMessage in postgresql
+ backend (sql_strerror). Fixe bug #989
16Oct07
kes Add PATH command to SunOS part of mtx-changer.in so that sed and
awk are on the path.