kes Remove unneeded File table index on JobId, which is already
present as the first index of another multi-index.
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@5778
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)))
LStat TINYBLOB NOT NULL,
MD5 TINYBLOB,
PRIMARY KEY(FileId),
- INDEX (JobId),
INDEX (JobId, PathId, FilenameId)
);
# INDEX (PathId),
# INDEX (FilenameId),
# INDEX (FilenameId, PathId)
-# INDEX (JobId),
#
CREATE TABLE MediaType (
Technical notes on version 2.2
General:
+22Oct07
+kes Apply 2.2.5-postgresql-errors.patch
+kes Remove unneeded File table index on JobId, which is already
+ present as the first index of another multi-index.
19Oct07
kes Set default debug_level to zero. This corrects bugs #991 and #993.
kes Fix a crash in bat when it cannot connect to the Director for example