> > $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 k
On Friday 17 June 2005 14:28, Dan Langille wrote:
> 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 abo
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 versio
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,
>
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
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.
$quer
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-packa
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 Str
On 17 Jun 2005 at 9:53, Kern Sibbald wrote:
> One question Dan: Will your changes work equally well on MySQL?
I don't think so. I have MySQL here, so I can check.
--
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/
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 a
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?
-
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
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 an
Hello Dan,
Thanks for jumping into this :-) For others on this list, bacula-web is
written so it can be used by multiple DB engines. However, if I am not
mistaken, Juan Luis, doesn't have PostgreSQL loaded, and there are lots of
tricky, totally non-evident things one must do to write DB neut
Hello Dan,
On Thu, 16 Jun 2005 20:35:43 -0400 "Dan Langille" <[EMAIL PROTECTED]>
wrote:
[...]
> >
> > I'll work on converting the SQL to something that can work with
> > PostgreSQL.
>
> I've converted the SQL. The diffs are available here:
>
> http://www.langille.org/tmp/bacula-web.diff
On 16 Jun 2005 at 20:03, Dan Langille wrote:
> On 17 Jun 2005 at 0:02, Kern Sibbald wrote:
>
> > Hello,
> >
> > This is just to let you know that as was previously discussed on this list,
> > I
> > have created a "gui" project in the Bacula Source Forge CVS repository.
> > At the moment, this pro
On 17 Jun 2005 at 0:02, Kern Sibbald wrote:
> Hello,
>
> This is just to let you know that as was previously discussed on this list, I
> have created a "gui" project in the Bacula Source Forge CVS repository.
> At the moment, this project (or module) contains bacula-web 1.1 written by
> Juan Luis
17 matches
Mail list logo