RE: [Bacula-users] Re: [Bacula-devel] GUI programs

2005-06-20 Thread David Boyes
$query = $queries[STUFF_FROM_TABLE1][SELECTED_DRIVER]; $query = sprintf($query, $parameter1, $parameter2); I'd vote for trying to do what Bacula does -- simplify the SQL and not use any non-standard MySQL SQL unless absolutely necessary. Doing that, we should be able to keep the

Re: [Bacula-users] Re: [Bacula-devel] GUI programs

2005-06-17 Thread Juan Luis Frances
Hello Dan, Please, commit your changes to the CVS when you want. However, perhaps you would want to wait one commit in the next days with my last development version. I included a very (very) rudimentary support for PostgreSQL and I am convinced that you can adapt your patch to this version

Re: [Bacula-users] Re: [Bacula-devel] GUI programs

2005-06-17 Thread Kern Sibbald
Hello Juan Luis, On Friday 17 June 2005 11:08, Juan Luis Frances wrote: Hello Dan, Please, commit your changes to the CVS when you want. However, perhaps you would want to wait one commit in the next days with my last development version. I included a very (very) rudimentary support for

Re: [Bacula-users] Re: [Bacula-devel] GUI programs

2005-06-17 Thread Juan Luis Frances
Hello Kern, I am expecting your commit. :-) Best regards and thanks, Juan Luis El Viernes 17 Junio 2005 12:36, Kern Sibbald escribi: So that we do not both do the same work, are you planning to make this commit, or are you expecting me to do it, which I will be glad to do?

Re: [Bacula-users] Re: [Bacula-devel] GUI programs

2005-06-17 Thread Dan Langille
On 17 Jun 2005 at 11:08, Juan Luis Frances wrote: Hello Dan, Please, commit your changes to the CVS when you want. However, perhaps you would want to wait one commit in the next days with my last development version. I included a very (very) rudimentary support for PostgreSQL and I am

Re: [Bacula-users] Re: [Bacula-devel] GUI programs

2005-06-17 Thread Juan Luis Frances
Hello Dan, Will there be different SQL for each supported database? Yes. One example: if ( $dbSql-driver == pgsql) $query = ; Best regards, Juan Luis --- SF.Net email is sponsored by: Discover Easy Linux Migration

Re: [Bacula-users] Re: [Bacula-devel] GUI programs

2005-06-17 Thread Stephan Holl
Hello Juan, On Fri, 17 Jun 2005 14:18:49 +0200 Juan Luis Frances [EMAIL PROTECTED] wrote: Hello Dan, Will there be different SQL for each supported database? Yes. One example: if ( $dbSql-driver == pgsql) $query = ; What about using the PEAR:DB-package or something

Re: [Bacula-users] Re: [Bacula-devel] GUI programs

2005-06-17 Thread Dan Langille
On 17 Jun 2005 at 14:18, Juan Luis Frances wrote: Hello Dan, Will there be different SQL for each supported database? Yes. One example: if ( $dbSql-driver == pgsql) $query = ; OK, what about something like this. Set up all your SQL in one place.

Re: [Bacula-users] Re: [Bacula-devel] GUI programs

2005-06-17 Thread Dan Langille
On 17 Jun 2005 at 14:27, Stephan Holl wrote: What about using the PEAR:DB-package or something like adodb for database abstraction? This would even easier to make the database- interaction more transparent. It does use Pear::DB The issue at hand is how different databases implement, or don't

Re: [Bacula-users] Re: [Bacula-devel] GUI programs

2005-06-17 Thread Juan Luis Frances
It seems a good idea, please give me time to think about it. I go to mountain this weekend (I am just shutting down the computer :-) ), when I come back I will respond you. El Viernes 17 Junio 2005 14:28, Dan Langille escribi: On 17 Jun 2005 at 14:18, Juan Luis Frances wrote: Hello Dan,

Re: [Bacula-users] Re: [Bacula-devel] GUI programs

2005-06-17 Thread Kern Sibbald
Hello Dan, On Friday 17 June 2005 14:07, Dan Langille wrote: On 17 Jun 2005 at 11:08, Juan Luis Frances wrote: Hello Dan, Please, commit your changes to the CVS when you want. However, perhaps you would want to wait one commit in the next days with my last development version. I