]>
git.sur5r.net Git - bacula/rescue/log
Kern Sibbald [Tue, 23 Dec 2003 22:48:38 +0000 (22:48 +0000)]
Add more error messages to bsmtp
Kern Sibbald [Tue, 23 Dec 2003 20:58:05 +0000 (20:58 +0000)]
Add new files from Nic
Kern Sibbald [Tue, 23 Dec 2003 20:23:15 +0000 (20:23 +0000)]
Nic's watchdog code + cleanup jcr locking/use_count
Dan Langille [Tue, 23 Dec 2003 16:50:35 +0000 (16:50 +0000)]
remove comments expressing doubt. adjust whitespace
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.
Dan Langille [Tue, 23 Dec 2003 16:41:31 +0000 (16:41 +0000)]
Store an array of POSTGRESQL_FIELD, one for each field.
Dan Langille [Tue, 23 Dec 2003 13:38:13 +0000 (13:38 +0000)]
whitespace changes
remove incorrect comment
Dan Langille [Tue, 23 Dec 2003 01:00:14 +0000 (01:00 +0000)]
lots of whitespace changes
remove commented out code
Dan Langille [Tue, 23 Dec 2003 00:46:47 +0000 (00:46 +0000)]
correct date
Dan Langille [Mon, 22 Dec 2003 21:49:44 +0000 (21:49 +0000)]
add missing E to $POSTGRSQL_LFLAGS
Dan Langille [Mon, 22 Dec 2003 21:39:33 +0000 (21:39 +0000)]
add missing E to $POSTGRSQL_LFLAGS
Dan Langille [Mon, 22 Dec 2003 20:41:08 +0000 (20:41 +0000)]
old-onfigure => old-configure
Kern Sibbald [Mon, 22 Dec 2003 20:11:06 +0000 (20:11 +0000)]
New configure from changed aclocal.m4
Dan Langille [Mon, 22 Dec 2003 19:59:57 +0000 (19:59 +0000)]
Change SQLite reference to PostgreSQL
Dan Langille [Mon, 22 Dec 2003 19:24:44 +0000 (19:24 +0000)]
start using @DB_NAME@
organize the file names
Kern Sibbald [Mon, 22 Dec 2003 16:35:07 +0000 (16:35 +0000)]
Fix configure.in + build new configure
Dan Langille [Mon, 22 Dec 2003 15:14:39 +0000 (15:14 +0000)]
$(RMF) mysql postgresql sqlite => $(RMF) mysql sqlite
We have no postgresql.
Dan Langille [Mon, 22 Dec 2003 15:14:00 +0000 (15:14 +0000)]
deal with grant_bacula_privileges
Dan Langille [Mon, 22 Dec 2003 14:58:22 +0000 (14:58 +0000)]
Add file
Dan Langille [Sun, 21 Dec 2003 23:23:52 +0000 (23:23 +0000)]
Add file
Dan Langille [Sun, 21 Dec 2003 22:18:32 +0000 (22:18 +0000)]
When invoking the mysql script, pass in $*
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.
Kern Sibbald [Sun, 21 Dec 2003 21:13:22 +0000 (21:13 +0000)]
Take Dan's new configure.in and generate configure
Kern Sibbald [Sun, 21 Dec 2003 15:41:47 +0000 (15:41 +0000)]
Minor updates after backporting to 1.32e
Dan Langille [Sat, 20 Dec 2003 23:26:41 +0000 (23:26 +0000)]
Oops, remove media.drive added in errror
Dan Langille [Sat, 20 Dec 2003 21:46:36 +0000 (21:46 +0000)]
Add volreadtime and volwritetime to media table.
Dan Langille [Sat, 20 Dec 2003 21:40:15 +0000 (21:40 +0000)]
change DEAULT -> DEFAULT
Kern Sibbald [Sat, 20 Dec 2003 19:30:48 +0000 (19:30 +0000)]
Apply Dan's fix to Makefile.in
Dan Langille [Sat, 20 Dec 2003 19:06:43 +0000 (19:06 +0000)]
Add missing ;
line up a function call
Kern Sibbald [Sat, 20 Dec 2003 18:40:14 +0000 (18:40 +0000)]
SQL updates + Vol read/write times
Kern Sibbald [Sat, 20 Dec 2003 17:25:17 +0000 (17:25 +0000)]
Fix configuration of default SQLite
Kern Sibbald [Sat, 20 Dec 2003 16:47:02 +0000 (16:47 +0000)]
Error check arg to config
Dan Langille [Sat, 20 Dec 2003 16:27:25 +0000 (16:27 +0000)]
Use @scriptdir@ not . ./
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.
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
Dan Langille [Fri, 19 Dec 2003 17:51:43 +0000 (17:51 +0000)]
ignore grant_bacula_privileges grant_sqlite_privileges
Kern Sibbald [Fri, 19 Dec 2003 15:30:08 +0000 (15:30 +0000)]
Add grant_bacula_privileges to configure.in and Makefile.in
Kern Sibbald [Fri, 19 Dec 2003 11:21:04 +0000 (11:21 +0000)]
Put configure back in sync
Kern Sibbald [Fri, 19 Dec 2003 11:11:58 +0000 (11:11 +0000)]
Add user config files
Dan Langille [Fri, 19 Dec 2003 00:22:27 +0000 (00:22 +0000)]
Add in --with-tcp-wrappers but without =/usr/lib
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".
Dan Langille [Thu, 18 Dec 2003 20:50:18 +0000 (20:50 +0000)]
Remember to install grant_bacula_privileges
Kern Sibbald [Thu, 18 Dec 2003 20:49:48 +0000 (20:49 +0000)]
Remove conio kludge
Kern Sibbald [Thu, 18 Dec 2003 19:41:29 +0000 (19:41 +0000)]
Apply Dan's fix to conio.c
Kern Sibbald [Thu, 18 Dec 2003 19:33:54 +0000 (19:33 +0000)]
ifdef off conio.c if not configured -- should not be necessary
Kern Sibbald [Thu, 18 Dec 2003 18:16:43 +0000 (18:16 +0000)]
Final fixes to new scheduler
Dan Langille [Thu, 18 Dec 2003 17:32:19 +0000 (17:32 +0000)]
Cater for grant_sqlite_privileges
Dan Langille [Thu, 18 Dec 2003 17:12:14 +0000 (17:12 +0000)]
replace references to sqlite scripts with generic bacula scripts.
Dan Langille [Thu, 18 Dec 2003 17:10:22 +0000 (17:10 +0000)]
ignore weird-files2
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.
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.
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().
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
Dan Langille [Thu, 18 Dec 2003 17:00:23 +0000 (17:00 +0000)]
add missing fi
Dan Langille [Thu, 18 Dec 2003 16:59:15 +0000 (16:59 +0000)]
cater for grant_sqlite_privileges
Dan Langille [Thu, 18 Dec 2003 13:35:29 +0000 (13:35 +0000)]
grant sqlite privileges
Kern Sibbald [Thu, 18 Dec 2003 12:26:27 +0000 (12:26 +0000)]
Add skeleton SuSe platform files
Kern Sibbald [Thu, 18 Dec 2003 07:10:26 +0000 (07:10 +0000)]
Update Cygwin build version documentation + increment Bacula version
Kern Sibbald [Thu, 18 Dec 2003 06:54:17 +0000 (06:54 +0000)]
Add back config.h.in, which is needed by ./configure -- apparently
Kern Sibbald [Wed, 17 Dec 2003 21:38:21 +0000 (21:38 +0000)]
Integration with Dan's PostgreSQL code
Kern Sibbald [Wed, 17 Dec 2003 21:23:26 +0000 (21:23 +0000)]
add do_all script
Kern Sibbald [Wed, 17 Dec 2003 18:40:53 +0000 (18:40 +0000)]
Update from week away
Kern Sibbald [Wed, 17 Dec 2003 14:49:34 +0000 (14:49 +0000)]
Test unified diff
Kern Sibbald [Wed, 17 Dec 2003 14:45:17 +0000 (14:45 +0000)]
Update kernstodo and test syncmail
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
Dan Langille [Fri, 12 Dec 2003 16:15:51 +0000 (16:15 +0000)]
Fine tuning of the PostgreSQL items needed for regression testing.
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.
Dan Langille [Fri, 12 Dec 2003 16:09:56 +0000 (16:09 +0000)]
remove GROUP BY on db_get_job_volume_names. REVIEW.
Dan Langille [Fri, 12 Dec 2003 16:08:33 +0000 (16:08 +0000)]
Add this for symmetry
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)
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
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
Dan Langille [Fri, 12 Dec 2003 15:48:24 +0000 (15:48 +0000)]
Fix broken DDL
Dan Langille [Fri, 12 Dec 2003 15:47:59 +0000 (15:47 +0000)]
add PostgreSQL support
Dan Langille [Fri, 12 Dec 2003 15:46:16 +0000 (15:46 +0000)]
hardcode the database name for PostgreSQL
Dan Langille [Fri, 12 Dec 2003 15:45:43 +0000 (15:45 +0000)]
grant select on sequences
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
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
Dan Langille [Fri, 12 Dec 2003 15:36:16 +0000 (15:36 +0000)]
cater for create_bacula_database and grant_bacula_privileges
Dan Langille [Fri, 12 Dec 2003 15:35:43 +0000 (15:35 +0000)]
ignore create_bacula_database
Dan Langille [Fri, 12 Dec 2003 15:33:51 +0000 (15:33 +0000)]
Supply a PostgreSQL option
Dan Langille [Thu, 11 Dec 2003 19:55:10 +0000 (19:55 +0000)]
For generic creation of a database
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.
Dan Langille [Wed, 10 Dec 2003 21:52:33 +0000 (21:52 +0000)]
It is maxvolbytes, not mavvolbytes
Dan Langille [Wed, 10 Dec 2003 19:18:47 +0000 (19:18 +0000)]
Add some more missing postgresql.in files
Dan Langille [Wed, 10 Dec 2003 19:12:37 +0000 (19:12 +0000)]
Add drop_postgresql_tables and update_postgresql_tables
Dan Langille [Wed, 10 Dec 2003 19:11:36 +0000 (19:11 +0000)]
use -f -
use \c not /c for selecting the database.
Dan Langille [Wed, 10 Dec 2003 19:10:54 +0000 (19:10 +0000)]
Use -f -
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.
Dan Langille [Wed, 10 Dec 2003 18:41:30 +0000 (18:41 +0000)]
ensure the postgresql *.in files get processed
Dan Langille [Tue, 9 Dec 2003 22:18:46 +0000 (22:18 +0000)]
Add PostgreSQL Support.
correct typo: DaemonGroup => Storage Daemon Group
Dan Langille [Tue, 9 Dec 2003 22:06:10 +0000 (22:06 +0000)]
Add PostgreSQL support
Dan Langille [Tue, 9 Dec 2003 22:04:13 +0000 (22:04 +0000)]
Ignore Makefile bacula-dir bacula-fd bacula-sd
Dan Langille [Tue, 9 Dec 2003 22:03:11 +0000 (22:03 +0000)]
ignore configure.lineno
Dan Langille [Tue, 9 Dec 2003 22:00:36 +0000 (22:00 +0000)]
Support for PostgreSQL.
Dan Langille [Tue, 9 Dec 2003 21:58:58 +0000 (21:58 +0000)]
Support for PostgreSQL
Dan Langille [Tue, 9 Dec 2003 21:57:59 +0000 (21:57 +0000)]
ignore Makefile bacula btraceback fd startit startmysql stopit stopmysql
Dan Langille [Tue, 9 Dec 2003 21:28:50 +0000 (21:28 +0000)]
Modifications to take advantage of PostgreSQL support.
Dan Langille [Tue, 9 Dec 2003 21:27:09 +0000 (21:27 +0000)]
Add PostgreSQL support. Coding and testing is incomplete.
Kern Sibbald [Tue, 9 Dec 2003 17:47:39 +0000 (17:47 +0000)]
last changes