X-Original-To: pgsql-general-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 659099FA4A7 for ; Fri, 30 Jun 2006 11:17:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 09653-03 for ; Fri, 30 Jun 2006 11:17:16 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 5CC9C9FA163 for ; Fri, 30 Jun 2006 11:17:16 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k5UEHA29023558; Fri, 30 Jun 2006 10:17:11 -0400 (EDT) To: "Jason McManus" cc: pgsql-general@postgresql.org Subject: Re: Notes on converting from MySQL 5.0.x to PostgreSQL 8.1.4 In-reply-to: References: Comments: In-reply-to "Jason McManus" message dated "Fri, 30 Jun 2006 22:17:56 +0900" Date: Fri, 30 Jun 2006 10:17:10 -0400 Message-ID: <23557.1151677030@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/1209 X-Sequence-Number: 97581 "Jason McManus" 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