]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
20 years agonew devel_bacula + fixes to conio/console
Kern Sibbald [Mon, 29 Dec 2003 17:03:36 +0000 (17:03 +0000)]
new devel_bacula + fixes to conio/console

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

20 years agoUpdate README + echo source directory used
Kern Sibbald [Mon, 29 Dec 2003 17:01:15 +0000 (17:01 +0000)]
Update README + echo source directory used

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

20 years agoFix watchdog crash in btape+detect more Device config problems in btape test + fix...
Kern Sibbald [Mon, 29 Dec 2003 11:57:37 +0000 (11:57 +0000)]
Fix watchdog crash in btape+detect more Device config problems in btape test + fix infinite loops in fsf due to bad config + correct for system dependences in backspace at EOM

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

20 years agoFix last_jobs list crash for utilities + fix sql_get.c select
Kern Sibbald [Mon, 29 Dec 2003 09:35:27 +0000 (09:35 +0000)]
Fix last_jobs list crash for utilities + fix sql_get.c select

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

20 years agoFix typo in comment.
Dan Langille [Sun, 28 Dec 2003 21:51:47 +0000 (21:51 +0000)]
Fix typo in comment.

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

20 years agoFix conio.c on FreeBSD + fix string concat on FreeBSD
Kern Sibbald [Sun, 28 Dec 2003 14:32:58 +0000 (14:32 +0000)]
Fix conio.c on FreeBSD + fix string concat on FreeBSD

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

20 years agoMisc ...
Kern Sibbald [Sun, 28 Dec 2003 09:52:58 +0000 (09:52 +0000)]
Misc ...

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

20 years agoDon't require default level
Kern Sibbald [Sat, 27 Dec 2003 14:04:40 +0000 (14:04 +0000)]
Don't require default level

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

20 years agoAdd default job level to bacula-dir.conf.in
Kern Sibbald [Sat, 27 Dec 2003 13:34:16 +0000 (13:34 +0000)]
Add default job level to bacula-dir.conf.in

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

20 years agoFinish JobDefs implementation + fix Makefile.in cats directory scripts
Kern Sibbald [Sat, 27 Dec 2003 13:14:12 +0000 (13:14 +0000)]
Finish JobDefs implementation + fix Makefile.in cats directory scripts

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

20 years agoDefine foreach_res() + work on jobdefs + bstrftime_nc
Kern Sibbald [Fri, 26 Dec 2003 17:37:54 +0000 (17:37 +0000)]
Define foreach_res() + work on jobdefs + bstrftime_nc

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

20 years agoFix over-zellous restriction of chars in Names
Kern Sibbald [Fri, 26 Dec 2003 14:36:51 +0000 (14:36 +0000)]
Fix over-zellous restriction of chars in Names

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

20 years agoFix static console conf + restrict chars in Resource Names + prevent infinite loop...
Kern Sibbald [Fri, 26 Dec 2003 10:38:47 +0000 (10:38 +0000)]
Fix static console conf + restrict chars in Resource Names + prevent infinite loop when MTFSF turned on but not supported by OS

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

20 years agoUpdate FreeBSD tape driver options
Kern Sibbald [Thu, 25 Dec 2003 10:32:14 +0000 (10:32 +0000)]
Update FreeBSD tape driver options

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

20 years agoAdd install of static-bconsole if it exists
Kern Sibbald [Wed, 24 Dec 2003 23:54:51 +0000 (23:54 +0000)]
Add install of static-bconsole if it exists

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

20 years agoUpdate for new restore
Kern Sibbald [Wed, 24 Dec 2003 20:26:58 +0000 (20:26 +0000)]
Update for new restore

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

20 years agoSee kes-1.33; restore fixes, cleanups, must update regress
Kern Sibbald [Wed, 24 Dec 2003 20:26:29 +0000 (20:26 +0000)]
See kes-1.33; restore fixes, cleanups, must update regress

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

20 years agoAdd more error messages to bsmtp
Kern Sibbald [Tue, 23 Dec 2003 22:48:38 +0000 (22:48 +0000)]
Add more error messages to bsmtp

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

20 years agoAdd new files from Nic
Kern Sibbald [Tue, 23 Dec 2003 20:58:05 +0000 (20:58 +0000)]
Add new files from Nic

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

20 years agoNic's watchdog code + cleanup jcr locking/use_count
Kern Sibbald [Tue, 23 Dec 2003 20:23:15 +0000 (20:23 +0000)]
Nic's watchdog code + cleanup jcr locking/use_count

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

20 years agoremove comments expressing doubt. adjust whitespace
Dan Langille [Tue, 23 Dec 2003 16:50:35 +0000 (16:50 +0000)]
remove comments expressing doubt. adjust whitespace

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

20 years agoAdd my_postgresql_max_length which caculates the maximum width for all values in...
Dan Langille [Tue, 23 Dec 2003 16:44:32 +0000 (16:44 +0000)]
Add my_postgresql_max_length which caculates the maximum width for all values in a field.

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

20 years agoStore an array of POSTGRESQL_FIELD, one for each field.
Dan Langille [Tue, 23 Dec 2003 16:41:31 +0000 (16:41 +0000)]
Store an array of POSTGRESQL_FIELD, one for each field.

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

20 years agowhitespace changes
Dan Langille [Tue, 23 Dec 2003 13:38:13 +0000 (13:38 +0000)]
whitespace changes
remove incorrect comment

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

20 years agolots of whitespace changes
Dan Langille [Tue, 23 Dec 2003 01:00:14 +0000 (01:00 +0000)]
lots of whitespace changes
remove commented out code

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

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