From: Eric Bollengier Date: Wed, 11 Feb 2009 09:50:52 +0000 (+0000) Subject: ebl Change path_name_idx and filename_name_idx to UNIQUE on postgres X-Git-Tag: Release-3.0.0~238 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1a05456579997d07ee8574d130ba4394bd67426a;p=bacula%2Fbacula ebl Change path_name_idx and filename_name_idx to UNIQUE on postgres git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8448 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/patches/testing/next-beta.patch b/bacula/patches/testing/next-beta.patch index 2135ac2c3b..a659250f5c 100644 --- a/bacula/patches/testing/next-beta.patch +++ b/bacula/patches/testing/next-beta.patch @@ -1,7 +1,7 @@ Index: src/dird/job.c =================================================================== ---- src/dird/job.c (revision 8436) -+++ src/dird/job.c (working copy) +--- src/dird/job.c (révision 8436) ++++ src/dird/job.c (copie de travail) @@ -860,6 +860,7 @@ jcr->jr.JobStatus = jcr->JobStatus; jcr->jr.JobFiles = jcr->JobFiles; @@ -12,8 +12,8 @@ Index: src/dird/job.c jcr->jr.JobErrors = jcr->Errors; Index: src/cats/sql_update.c =================================================================== ---- src/cats/sql_update.c (revision 8436) -+++ src/cats/sql_update.c (working copy) +--- src/cats/sql_update.c (révision 8436) ++++ src/cats/sql_update.c (copie de travail) @@ -161,7 +161,7 @@ time_t ttime; struct tm tm; @@ -38,8 +38,8 @@ Index: src/cats/sql_update.c rdt, Index: src/cats/update_postgresql_tables.in =================================================================== ---- src/cats/update_postgresql_tables.in (revision 8436) -+++ src/cats/update_postgresql_tables.in (working copy) +--- src/cats/update_postgresql_tables.in (révision 8436) ++++ src/cats/update_postgresql_tables.in (copie de travail) @@ -11,13 +11,24 @@ if $bindir/psql -f - -d ${db_name} $* <cmd, "SELECT VolSessionId,VolSessionTime," "PoolId,StartTime,EndTime,JobFiles,JobBytes,JobTDate,Job,JobStatus," @@ -528,8 +542,8 @@ Index: src/cats/sql_get.c jr->EndTime = str_to_utime(jr->cEndTime); Index: src/cats/make_mysql_tables.in =================================================================== ---- src/cats/make_mysql_tables.in (revision 8436) -+++ src/cats/make_mysql_tables.in (working copy) +--- src/cats/make_mysql_tables.in (révision 8436) ++++ src/cats/make_mysql_tables.in (copie de travail) @@ -29,7 +29,7 @@ @@ -602,8 +616,8 @@ Index: src/cats/make_mysql_tables.in then Index: src/bc_types.h =================================================================== ---- src/bc_types.h (revision 8436) -+++ src/bc_types.h (working copy) +--- src/bc_types.h (révision 8436) ++++ src/bc_types.h (copie de travail) @@ -57,7 +57,7 @@ * In principle, the only field that really should need to be * 64 bits is the FileId_t