Re: Porting MySQL PHP to Postgres - Mailing list pgsql-general

From Russell Smith
Subject Re: Porting MySQL PHP to Postgres
Date
Msg-id 200502212137.49861.mr-russ@pws.com.au
Whole thread Raw
In response to Porting MySQL PHP to Postgres  (Shaun Clements <ShaunC@relyant.co.za>)
List pgsql-general
On Mon, 21 Feb 2005 08:41 pm, you wrote:
> Hi All
>
> I am going to attempt to move an Intranet Application across from MySQL, to
> Postgres.
> I would like to know is there any best method / tool to do this.
> The application is written in PHP. Perhaps there is someone who is using
> Postgres, who had this problem.
>
I can be simple or it can be hard.

It all depends on the complexity, and setup of the PHP scripts.

You may just need to change mysql_query for pg_query, the open and close
function, and it might just mostly work.  However if you app has mysql specific
code, or you are using some complicated classes to manage it, it may be harder to
port.

Unless the application is known, it difficult to give any real analysis on the difficulty of
the task.

Regards

Russell Smith.

> Thanks in advance.
>
> Kind Regards,
> Shaun Clements
>

pgsql-general by date:

Previous
From: "Surabhi Ahuja "
Date:
Subject: error while loading shared libraries:
Next
From: Shaun Clements
Date:
Subject: Re: Porting MySQL PHP to Postgres