Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VOEn7-0001s3-8m for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Sep 2013 22:39:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VOEn6-0002AP-NK for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Sep 2013 22:39:40 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VOEn4-00027R-8c for pgsql-hackers@postgresql.org; Mon, 23 Sep 2013 22:39:38 +0000 Received: from mail-pd0-x236.google.com ([2607:f8b0:400e:c02::236]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VOEn1-00058z-JT for pgsql-hackers@postgresql.org; Mon, 23 Sep 2013 22:39:37 +0000 Received: by mail-pd0-f182.google.com with SMTP id r10so3817132pdi.27 for ; Mon, 23 Sep 2013 15:39:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:cc:references:in-reply-to:subject:date :mime-version:content-type:content-transfer-encoding; bh=8FNz3V8Z7Ss6ZcuonJLH6r9X1mFiANQDv/2AVJ/zgkI=; b=q4b4U9cFwZTKHteIWu5Pa2i0snck9r2nODuD+cKhZo8IJDklN3IXVsA0UyE+RwfWpF AbPrEAesN2OOGll+UdPbE44hLNu6dl6qT/py4XE9eJqclfAmEN/Ag3zQasfR1BEwDtmI ACU2systqFLlKQl3FTpLXYCk3egB/9xG6G4SHIH8bdZ0skwb+LQssYxd0hE0oI37I1ay OzvJG9/LBpO1nhg43wgp6lvsL2/1DNUHE2pjQomGET6Q2Tki78e/MLI0D82S5Q2ghUky BjJ+LPyz7QnFtSu8DvJUJYAnSfKVE/5LY2ZbJ/6VeR1VpLD5yMKKi8Ac6bIna7ZKJnep R+fA== X-Received: by 10.66.248.161 with SMTP id yn1mr26956341pac.0.1379975974612; Mon, 23 Sep 2013 15:39:34 -0700 (PDT) Received: from maumau (p6019-ipbfp211sizuokaden.shizuoka.ocn.ne.jp. [114.170.213.19]) by mx.google.com with ESMTPSA id fy4sm36530839pbb.1.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 23 Sep 2013 15:39:33 -0700 (PDT) Message-ID: <08BC1DEE597E44B792B411CAF75BAE16@maumau> From: "MauMau" To: "Robert Haas" Cc: "Tom Lane" , "Boguk, Maksym" , "Heikki Linnakangas" , References: <522594E8.2050106@vmware.com><904.1378304922@sss.pgh.pa.us><37B76474BB3149FD841373E12E355851@maumau> In-Reply-To: Subject: Re: UTF8 national character data type support WIP patch and list of open issues. Date: Tue, 24 Sep 2013 07:41:51 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18463 X-Pg-Spam-Score: -1.3 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org From: "Robert Haas" > Sure, it's EnterpriseDB's policy to add features that facilitate > migrations from other databases - particularly Oracle - to our > product, Advanced Server, even if those features don't otherwise add > any value. However, the community is usually reluctant to add such > features to PostgreSQL. Also, at least up until now, the existing > aliasing of nchar and nchar varying to other data types has been > adequate for the needs of our customers, and we've handled a bunch of > other type-name incompatibilities with similar tricks. What you are > proposing goes off in a different direction from both PostgreSQL and > Advanced Server, and that's why I'm skeptical. If you were proposing > something that we were doing in Advanced Server with great success, it > would be a bit disingenuous of me to argue against doing the same > thing in PostgreSQL, but that's not the case. Sorry, I didn't mean to imitate EnterpriseDB. My intent is to just increase the popularity of PostgreSQL (or prevent the drop in popularity?). NCHAR is so basic that we can/should accept proper support. Aliasing would be nice to some extent, if its offical support would be documented in PG manual. However, just aliasing loses NCHAR type information through pg_dump. This is contrary to the benefit of pg_dump -- allow migration from PG to other DBMSs, possibly for performance comparison: http://www.postgresql.org/docs/current/static/app-pgdump.html "Script files can be used to reconstruct the database even on other machines and other architectures; with some modifications, even on other SQL database products." In addition, distinct types for NCHAR/NVARCHAR allow future extension such as different encoding for NCHAR and UTF-16. Regards MauMau -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers