]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
20 years agocorrect date
Dan Langille [Tue, 23 Dec 2003 00:46:47 +0000 (00:46 +0000)]
correct date

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@938 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoadd missing E to $POSTGRSQL_LFLAGS
Dan Langille [Mon, 22 Dec 2003 21:49:44 +0000 (21:49 +0000)]
add missing E to $POSTGRSQL_LFLAGS

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@937 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoadd missing E to $POSTGRSQL_LFLAGS
Dan Langille [Mon, 22 Dec 2003 21:39:33 +0000 (21:39 +0000)]
add missing E to $POSTGRSQL_LFLAGS

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@936 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoold-onfigure => old-configure
Dan Langille [Mon, 22 Dec 2003 20:41:08 +0000 (20:41 +0000)]
old-onfigure => old-configure

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@935 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoNew configure from changed aclocal.m4
Kern Sibbald [Mon, 22 Dec 2003 20:11:06 +0000 (20:11 +0000)]
New configure from changed aclocal.m4

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@934 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoChange SQLite reference to PostgreSQL
Dan Langille [Mon, 22 Dec 2003 19:59:57 +0000 (19:59 +0000)]
Change SQLite reference to PostgreSQL

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@933 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agostart using @DB_NAME@
Dan Langille [Mon, 22 Dec 2003 19:24:44 +0000 (19:24 +0000)]
start using @DB_NAME@
organize the file names

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@932 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFix configure.in + build new configure
Kern Sibbald [Mon, 22 Dec 2003 16:35:07 +0000 (16:35 +0000)]
Fix configure.in + build new configure

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@931 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago$(RMF) mysql postgresql sqlite => $(RMF) mysql sqlite
Dan Langille [Mon, 22 Dec 2003 15:14:39 +0000 (15:14 +0000)]
$(RMF) mysql postgresql sqlite => $(RMF) mysql sqlite
We have no postgresql.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@930 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agodeal with grant_bacula_privileges
Dan Langille [Mon, 22 Dec 2003 15:14:00 +0000 (15:14 +0000)]
deal with grant_bacula_privileges

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@929 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd file
Dan Langille [Mon, 22 Dec 2003 14:58:22 +0000 (14:58 +0000)]
Add file

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@928 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd file
Dan Langille [Sun, 21 Dec 2003 23:23:52 +0000 (23:23 +0000)]
Add file

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@927 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoWhen invoking the mysql script, pass in $*
Dan Langille [Sun, 21 Dec 2003 22:18:32 +0000 (22:18 +0000)]
When invoking the mysql script, pass in $*

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@926 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agotidy up make clean and ensure we have all the create/drop etc files
Dan Langille [Sun, 21 Dec 2003 22:16:06 +0000 (22:16 +0000)]
tidy up make clean and ensure we have all the create/drop etc files
for each database variant.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@925 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoTake Dan's new configure.in and generate configure
Kern Sibbald [Sun, 21 Dec 2003 21:13:22 +0000 (21:13 +0000)]
Take Dan's new configure.in and generate configure

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@924 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoMinor updates after backporting to 1.32e
Kern Sibbald [Sun, 21 Dec 2003 15:41:47 +0000 (15:41 +0000)]
Minor updates after backporting to 1.32e

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@923 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoOops, remove media.drive added in errror
Dan Langille [Sat, 20 Dec 2003 23:26:41 +0000 (23:26 +0000)]
Oops, remove media.drive added in errror

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@919 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd volreadtime and volwritetime to media table.
Dan Langille [Sat, 20 Dec 2003 21:46:36 +0000 (21:46 +0000)]
Add volreadtime and volwritetime to media table.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@918 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agochange DEAULT -> DEFAULT
Dan Langille [Sat, 20 Dec 2003 21:40:15 +0000 (21:40 +0000)]
change DEAULT -> DEFAULT

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@917 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoApply Dan's fix to Makefile.in
Kern Sibbald [Sat, 20 Dec 2003 19:30:48 +0000 (19:30 +0000)]
Apply Dan's fix to Makefile.in

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@916 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd missing ;
Dan Langille [Sat, 20 Dec 2003 19:06:43 +0000 (19:06 +0000)]
Add missing ;
line up a function call

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@915 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoSQL updates + Vol read/write times
Kern Sibbald [Sat, 20 Dec 2003 18:40:14 +0000 (18:40 +0000)]
SQL updates + Vol read/write times

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@914 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFix configuration of default SQLite
Kern Sibbald [Sat, 20 Dec 2003 17:25:17 +0000 (17:25 +0000)]
Fix configuration of default SQLite

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@913 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoError check arg to config
Kern Sibbald [Sat, 20 Dec 2003 16:47:02 +0000 (16:47 +0000)]
Error check arg to config

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@912 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUse @scriptdir@ not . ./
Dan Langille [Sat, 20 Dec 2003 16:27:25 +0000 (16:27 +0000)]
Use @scriptdir@ not . ./

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@911 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAllow for optional parameter which specifies the database target.
Dan Langille [Sat, 20 Dec 2003 03:41:41 +0000 (03:41 +0000)]
Allow for optional parameter which specifies the database target.
reinstate create_bacula_database.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@910 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoMerge Dan's and my code to add PostgreSQL detection to configure.in
Kern Sibbald [Fri, 19 Dec 2003 19:59:31 +0000 (19:59 +0000)]
Merge Dan's and my code to add PostgreSQL detection to configure.in

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@909 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoignore grant_bacula_privileges grant_sqlite_privileges
Dan Langille [Fri, 19 Dec 2003 17:51:43 +0000 (17:51 +0000)]
ignore grant_bacula_privileges  grant_sqlite_privileges

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@908 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd grant_bacula_privileges to configure.in and Makefile.in
Kern Sibbald [Fri, 19 Dec 2003 15:30:08 +0000 (15:30 +0000)]
Add grant_bacula_privileges to configure.in and Makefile.in

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@907 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoPut configure back in sync
Kern Sibbald [Fri, 19 Dec 2003 11:21:04 +0000 (11:21 +0000)]
Put configure back in sync

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@906 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd user config files
Kern Sibbald [Fri, 19 Dec 2003 11:11:58 +0000 (11:11 +0000)]
Add user config files

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@905 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd in --with-tcp-wrappers but without =/usr/lib
Dan Langille [Fri, 19 Dec 2003 00:22:27 +0000 (00:22 +0000)]
Add in --with-tcp-wrappers but without =/usr/lib

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@904 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd PostgreSQL support droppped in revision 1.88.
Dan Langille [Fri, 19 Dec 2003 00:18:13 +0000 (00:18 +0000)]
Add PostgreSQL support droppped in revision 1.88.
While here, add a "checking for embedded SQL" so we don't see just a "no".

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@903 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoRemember to install grant_bacula_privileges
Dan Langille [Thu, 18 Dec 2003 20:50:18 +0000 (20:50 +0000)]
Remember to install grant_bacula_privileges

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@902 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoRemove conio kludge
Kern Sibbald [Thu, 18 Dec 2003 20:49:48 +0000 (20:49 +0000)]
Remove conio kludge

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@901 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoApply Dan's fix to conio.c
Kern Sibbald [Thu, 18 Dec 2003 19:41:29 +0000 (19:41 +0000)]
Apply Dan's fix to conio.c

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@900 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoifdef off conio.c if not configured -- should not be necessary
Kern Sibbald [Thu, 18 Dec 2003 19:33:54 +0000 (19:33 +0000)]
ifdef off conio.c if not configured -- should not be necessary

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@899 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFinal fixes to new scheduler
Kern Sibbald [Thu, 18 Dec 2003 18:16:43 +0000 (18:16 +0000)]
Final fixes to new scheduler

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@898 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoCater for grant_sqlite_privileges
Dan Langille [Thu, 18 Dec 2003 17:32:19 +0000 (17:32 +0000)]
Cater for grant_sqlite_privileges

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@897 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoreplace references to sqlite scripts with generic bacula scripts.
Dan Langille [Thu, 18 Dec 2003 17:12:14 +0000 (17:12 +0000)]
replace references to sqlite scripts with generic bacula scripts.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@896 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoignore weird-files2
Dan Langille [Thu, 18 Dec 2003 17:10:22 +0000 (17:10 +0000)]
ignore weird-files2

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@895 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoRemove calls to sql_table_name()
Dan Langille [Thu, 18 Dec 2003 17:05:31 +0000 (17:05 +0000)]
Remove calls to sql_table_name()
Add table name to sql_insert_id() calls.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@894 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agouse bstrncpy instead of strcpy. Simlarly for bstrncat.
Dan Langille [Thu, 18 Dec 2003 17:04:33 +0000 (17:04 +0000)]
use bstrncpy instead of strcpy.  Simlarly for bstrncat.
Alter my_postgresql_currval to take a table name.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@893 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoreplace sql_table_name() with an extra parameter on sql_insert_id().
Dan Langille [Thu, 18 Dec 2003 17:03:13 +0000 (17:03 +0000)]
replace sql_table_name() with an extra parameter on sql_insert_id().

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@892 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agonumornull becomes edit_num_or_null
Dan Langille [Thu, 18 Dec 2003 17:01:35 +0000 (17:01 +0000)]
numornull becomes edit_num_or_null
and takes uint32_t instead of int

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@891 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoadd missing fi
Dan Langille [Thu, 18 Dec 2003 17:00:23 +0000 (17:00 +0000)]
add missing fi

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@890 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agocater for grant_sqlite_privileges
Dan Langille [Thu, 18 Dec 2003 16:59:15 +0000 (16:59 +0000)]
cater for grant_sqlite_privileges

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@889 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agogrant sqlite privileges
Dan Langille [Thu, 18 Dec 2003 13:35:29 +0000 (13:35 +0000)]
grant sqlite privileges

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@888 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd skeleton SuSe platform files
Kern Sibbald [Thu, 18 Dec 2003 12:26:27 +0000 (12:26 +0000)]
Add skeleton SuSe platform files

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@887 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate Cygwin build version documentation + increment Bacula version
Kern Sibbald [Thu, 18 Dec 2003 07:10:26 +0000 (07:10 +0000)]
Update Cygwin build version documentation + increment Bacula version

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@886 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd back config.h.in, which is needed by ./configure -- apparently
Kern Sibbald [Thu, 18 Dec 2003 06:54:17 +0000 (06:54 +0000)]
Add back config.h.in, which is needed by ./configure -- apparently

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@885 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoIntegration with Dan's PostgreSQL code
Kern Sibbald [Wed, 17 Dec 2003 21:38:21 +0000 (21:38 +0000)]
Integration with Dan's PostgreSQL code

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@884 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoadd do_all script
Kern Sibbald [Wed, 17 Dec 2003 21:23:26 +0000 (21:23 +0000)]
add do_all script

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@883 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate from week away
Kern Sibbald [Wed, 17 Dec 2003 18:40:53 +0000 (18:40 +0000)]
Update from week away

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@882 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoTest unified diff
Kern Sibbald [Wed, 17 Dec 2003 14:49:34 +0000 (14:49 +0000)]
Test unified diff

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@881 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate kernstodo and test syncmail
Kern Sibbald [Wed, 17 Dec 2003 14:45:17 +0000 (14:45 +0000)]
Update kernstodo and test syncmail

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@880 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoDefine the DelCandidates, temp, and temp1 tables differently on PostgreSQL.
Dan Langille [Fri, 12 Dec 2003 16:18:55 +0000 (16:18 +0000)]
Define the DelCandidates, temp, and temp1 tables differently on PostgreSQL.
Remove the GROUP BY on uar_list_temp and uar_sel_fileset

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@879 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFine tuning of the PostgreSQL items needed for regression testing.
Dan Langille [Fri, 12 Dec 2003 16:15:51 +0000 (16:15 +0000)]
Fine tuning of the PostgreSQL items needed for regression testing.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@878 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd numornull which retuns NULL if the value is zero, or the value.
Dan Langille [Fri, 12 Dec 2003 16:12:25 +0000 (16:12 +0000)]
Add numornull which retuns NULL if the value is zero, or the value.
This function was needed because Job.{PoolId|FileSetId|ClientId} are
foreign keys.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@877 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoremove GROUP BY on db_get_job_volume_names. REVIEW.
Dan Langille [Fri, 12 Dec 2003 16:09:56 +0000 (16:09 +0000)]
remove GROUP BY on db_get_job_volume_names.  REVIEW.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@876 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd this for symmetry
Dan Langille [Fri, 12 Dec 2003 16:08:33 +0000 (16:08 +0000)]
Add this for symmetry

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@875 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoWhen creating a new Job, don't grab the JobId in advance.
Dan Langille [Fri, 12 Dec 2003 16:06:19 +0000 (16:06 +0000)]
When creating a new Job, don't grab the JobId in advance.
Add calls to sql_table_name before each call to INSERT_DB.
special case the creation of new Media for PostgreSQL.  (review later)

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@874 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoStart including postgres_ext.h for max field name value
Dan Langille [Fri, 12 Dec 2003 15:58:28 +0000 (15:58 +0000)]
Start including postgres_ext.h for max field name value
bug fixes arising from regression testing.
Add my_postgresql_currval

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@873 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdjust some field names to their correct values.
Dan Langille [Fri, 12 Dec 2003 15:57:17 +0000 (15:57 +0000)]
Adjust some field names to their correct values.
Add missing default values.
Allow for null values on job.{clientid|starttime|endtime}
Add database changes for 1.33

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@872 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFix broken DDL
Dan Langille [Fri, 12 Dec 2003 15:48:24 +0000 (15:48 +0000)]
Fix broken DDL

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@871 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoadd PostgreSQL support
Dan Langille [Fri, 12 Dec 2003 15:47:59 +0000 (15:47 +0000)]
add PostgreSQL support

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@870 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agohardcode the database name for PostgreSQL
Dan Langille [Fri, 12 Dec 2003 15:46:16 +0000 (15:46 +0000)]
hardcode the database name for PostgreSQL

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@869 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agogrant select on sequences
Dan Langille [Fri, 12 Dec 2003 15:45:43 +0000 (15:45 +0000)]
grant select on sequences

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@868 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoget regression tests working by hardcoding a bacula database name for PostgreSQL
Dan Langille [Fri, 12 Dec 2003 15:43:34 +0000 (15:43 +0000)]
get regression tests working by hardcoding a bacula database name for PostgreSQL

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@867 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Add sql_table_name which keeps track of the table name being updated.
Dan Langille [Fri, 12 Dec 2003 15:41:11 +0000 (15:41 +0000)]
- Add sql_table_name which keeps track of the table name being updated.
  This is needed by PostgreSQL.  macro does nothing under MySQL/SQLite
- Add table_name to the PostgreSQL db structure
- remove LastID from the PostgreSQL structure as it is no longer needed
- ensure sql_num_rows, sql_affected_rows, and sql_num_fields return
  unsigned values

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@866 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agocater for create_bacula_database and grant_bacula_privileges
Dan Langille [Fri, 12 Dec 2003 15:36:16 +0000 (15:36 +0000)]
cater for create_bacula_database and grant_bacula_privileges

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@865 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoignore create_bacula_database
Dan Langille [Fri, 12 Dec 2003 15:35:43 +0000 (15:35 +0000)]
ignore create_bacula_database

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@864 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoSupply a PostgreSQL option
Dan Langille [Fri, 12 Dec 2003 15:33:51 +0000 (15:33 +0000)]
Supply a PostgreSQL option

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@863 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFor generic creation of a database
Dan Langille [Thu, 11 Dec 2003 19:55:10 +0000 (19:55 +0000)]
For generic creation of a database

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@862 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUse ' instead of " when quoting strings.
Dan Langille [Wed, 10 Dec 2003 22:49:27 +0000 (22:49 +0000)]
Use ' instead of " when quoting strings.
PostgreSQL cannot handle " and thinks they are attributes.
MySQL can handle ' and so can SQLite.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@861 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoIt is maxvolbytes, not mavvolbytes
Dan Langille [Wed, 10 Dec 2003 21:52:33 +0000 (21:52 +0000)]
It is maxvolbytes, not mavvolbytes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@860 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd some more missing postgresql.in files
Dan Langille [Wed, 10 Dec 2003 19:18:47 +0000 (19:18 +0000)]
Add some more missing postgresql.in files

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@859 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd drop_postgresql_tables and update_postgresql_tables
Dan Langille [Wed, 10 Dec 2003 19:12:37 +0000 (19:12 +0000)]
Add drop_postgresql_tables and update_postgresql_tables

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@858 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agouse -f -
Dan Langille [Wed, 10 Dec 2003 19:11:36 +0000 (19:11 +0000)]
use -f -
use \c not /c for selecting the database.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@857 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUse -f -
Dan Langille [Wed, 10 Dec 2003 19:10:54 +0000 (19:10 +0000)]
Use -f -

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@856 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFor symmetry, add this file. At present, all it does is update the version table.
Dan Langille [Wed, 10 Dec 2003 19:09:37 +0000 (19:09 +0000)]
For symmetry, add this file.  At present, all it does is update the version table.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@855 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoensure the postgresql *.in files get processed
Dan Langille [Wed, 10 Dec 2003 18:41:30 +0000 (18:41 +0000)]
ensure the postgresql *.in files get processed

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@854 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd PostgreSQL Support.
Dan Langille [Tue, 9 Dec 2003 22:18:46 +0000 (22:18 +0000)]
Add PostgreSQL Support.
correct typo: DaemonGroup => Storage Daemon Group

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@853 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd PostgreSQL support
Dan Langille [Tue, 9 Dec 2003 22:06:10 +0000 (22:06 +0000)]
Add PostgreSQL support

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@852 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoIgnore Makefile bacula-dir bacula-fd bacula-sd
Dan Langille [Tue, 9 Dec 2003 22:04:13 +0000 (22:04 +0000)]
Ignore Makefile bacula-dir bacula-fd bacula-sd

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@851 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoignore configure.lineno
Dan Langille [Tue, 9 Dec 2003 22:03:11 +0000 (22:03 +0000)]
ignore configure.lineno

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@850 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoSupport for PostgreSQL.
Dan Langille [Tue, 9 Dec 2003 22:00:36 +0000 (22:00 +0000)]
Support for PostgreSQL.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@849 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoSupport for PostgreSQL
Dan Langille [Tue, 9 Dec 2003 21:58:58 +0000 (21:58 +0000)]
Support for PostgreSQL

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@848 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoignore Makefile bacula btraceback fd startit startmysql stopit stopmysql
Dan Langille [Tue, 9 Dec 2003 21:57:59 +0000 (21:57 +0000)]
ignore Makefile bacula btraceback fd startit startmysql stopit stopmysql

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@847 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoModifications to take advantage of PostgreSQL support.
Dan Langille [Tue, 9 Dec 2003 21:28:50 +0000 (21:28 +0000)]
Modifications to take advantage of PostgreSQL support.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@846 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd PostgreSQL support. Coding and testing is incomplete.
Dan Langille [Tue, 9 Dec 2003 21:27:09 +0000 (21:27 +0000)]
Add PostgreSQL support.  Coding and testing is incomplete.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@845 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agolast changes
Kern Sibbald [Tue, 9 Dec 2003 17:47:39 +0000 (17:47 +0000)]
last changes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@844 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFix new calling sequence of db_find_next_volume() in bdb_find.c
Kern Sibbald [Tue, 9 Dec 2003 10:22:09 +0000 (10:22 +0000)]
Fix new calling sequence of db_find_next_volume() in bdb_find.c

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@842 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFix overzelous VolCatFiles updating by removing from askdir.c and doing only when...
Kern Sibbald [Mon, 8 Dec 2003 20:58:07 +0000 (20:58 +0000)]
Fix overzelous VolCatFiles updating by removing from askdir.c and doing only when appropriate

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@841 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd new MediaAddressing column to Media record
Kern Sibbald [Mon, 8 Dec 2003 17:45:58 +0000 (17:45 +0000)]
Add new MediaAddressing column to Media record

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@836 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoDocumentation updates
Kern Sibbald [Mon, 8 Dec 2003 16:17:51 +0000 (16:17 +0000)]
Documentation updates

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@835 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd new 2003/1.27 directory and contents
Kern Sibbald [Sun, 7 Dec 2003 20:18:58 +0000 (20:18 +0000)]
Add new 2003/1.27 directory and contents

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@833 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate ReleaseNotes
Kern Sibbald [Sun, 7 Dec 2003 20:10:45 +0000 (20:10 +0000)]
Update ReleaseNotes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@832 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoNew file + typo correction
Kern Sibbald [Sun, 7 Dec 2003 14:40:54 +0000 (14:40 +0000)]
New file + typo correction

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@828 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agotest
Kern Sibbald [Sun, 7 Dec 2003 13:06:59 +0000 (13:06 +0000)]
test

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@827 91ce42f0-d328-0410-95d8-f526ca767f89