Re: From MySQL to PostgreSQL

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

 



"Marcjon Louwersheimer" <marcjon@xxxxxxxxxxx> wrote in message
news:1083980943.26747.196068112@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> 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?

Hi Marcjon,

I can't answer your question regarding the difference of MySQL and
PostgreSQL but using a database abstraction layer like PEAR::DB should solve
your problem:

http://pear.php.net/package/DB


Regards, Torsten

> --
>   Marcjon

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux