Skip site navigation (1) Skip section navigation (2)

Re: Notes on converting from MySQL 5.0.x to PostgreSQL 8.1.4

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jason McManus" <mcmanus(dot)jason(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Notes on converting from MySQL 5.0.x to PostgreSQL 8.1.4
Date: 2006-06-30 14:17:10
Message-ID: 23557.1151677030@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-www
"Jason McManus" <mcmanus(dot)jason(at)gmail(dot)com> writes:
> I am in the process of converting a couple of major sites from MySQL 5.0.22
> to PostgreSQL 8.1.4, and I thought I would share some of my observations on
> this process and the two database systems in general.

Nice notes!  I see only one small error:

> * Pg's default character set (in 8.1.4) is UTF8.

I don't believe there is any fixed "default character set".  Each
installation will have a default locale and encoding, but these depend
on the locale under which initdb was run.  From the above comment I
surmise that you initdb'd under some UTF8-using locale ...

> Thank you, and I hope that these notes prove helpful to others!

Perhaps they should go on the project website somewhere?

			regards, tom lane

In response to

Responses

pgsql-www by date

Next:From: Jason McManusDate: 2006-06-30 14:39:56
Subject: Re: Notes on converting from MySQL 5.0.x to PostgreSQL 8.1.4
Previous:From: Jason McManusDate: 2006-06-30 13:17:56
Subject: Notes on converting from MySQL 5.0.x to PostgreSQL 8.1.4

pgsql-general by date

Next:From: Ivan ZolotukhinDate: 2006-06-30 14:37:27
Subject: PostgreSQL and OpenVZ
Previous:From: John DeSoiDate: 2006-06-30 13:44:56
Subject: Re: User privileges in web database applications

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group