Re: [PHP-DB] From MySQL to PostgreSQL

2004-05-08 Thread Martin Marques
El Vie 07 May 2004 22:49, Marcjon Louwersheimer escribió:
> Hi. I developed a forum using php5 and mysql. Right now I'm hosting it on
> my computer, for version for myself and another for a school I volunteer
> at. I would like to move the forums to the school's server. Apperently
> they don't have MySQL, they have PostgreSQL. I was just wondering, how
> much like MySQL is PostgreSQL? Would it be possible to create general
> functions (MySQL style) that could also work for PostgreSQL, based on
> what a config file set? Right now I have a file that's specific to each
> forum, so I could specify PostgreSQL or MySQL and based on that the
> function would do the appropriate action. So how much like MySQL is
> PostgreSQL?

I think you should check PEAR::DB to get some DB abstraction.

-- 
 09:30:01 up 9 days, 14:52,  1 user,  load average: 0.27, 0.39, 0.45
-
Martín Marqués| select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica  |  DBA, Programador, Administrador
 Universidad Nacional
  del Litoral
-

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] From MySQL to PostgreSQL

2004-05-07 Thread Marcjon Louwersheimer
Hi. I developed a forum using php5 and mysql. Right now I'm hosting it on
my computer, for version for myself and another for a school I volunteer
at. I would like to move the forums to the school's server. Apperently
they don't have MySQL, they have PostgreSQL. I was just wondering, how
much like MySQL is PostgreSQL? Would it be possible to create general
functions (MySQL style) that could also work for PostgreSQL, based on
what a config file set? Right now I have a file that's specific to each
forum, so I could specify PostgreSQL or MySQL and based on that the
function would do the appropriate action. So how much like MySQL is
PostgreSQL?
-- 
  Marcjon

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php