[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bacula-devel] bad sql??


2008/9/19 Robert Treat <xzilla@xxxxxxxxxxxxxxxxxxxxx>:
> On Thursday 18 September 2008 18:39:49 Bill Moran wrote:
>
> Yes, it works fine on Postgres, and it works fine on Sqlite. The problem is
> that it works differently between these two systems, so if you try to move
> from one database to another, it introduces many compatability issues.
>
> Now it is quite possible that no one cares about compatability across
> databases, but it certainly would make life easier for some people if bacula
> were implemented more consitently across db engines. And not just me :-),
> think 3rd party software developers who would have to write code in unquoted
> StudleyCaps to be bacula compliant across databases. That's a crappy thing to
> force on someone.

No problem  ;)
I solve this issue (in webacula)

//in php
switch ($this->db_adapter) {
   case 'PDO_MYSQL':
      ...
   case 'PDO_PGSQL'
      ...


>
> --
> Robert Treat
> Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bacula-devel mailing list
> Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/bacula-devel
>



-- 
with best regards

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilot Consulting.