Re: Proposal: CREATE CONVERSION

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal: CREATE CONVERSION
Date: 2002-07-09 06:46:40
Message-ID: 20020709.154640.98878620.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

SQL99 allows on the fly encoding conversion:

CONVERT('aaa' USING myconv 'bbb')

So there could be more than 1 conversion for a paticlular encodings
pair. This lead to an ambiguity for "default" conversion used for the
frontend/backend automatic encoding conversion. Can we add a flag
indicating that this is the "default" conversion? The new proposed
syntax would be:

CREATE CONVERSION <conversion name>
FOR <source encoding name>
TO <destination encoding name>
FROM <conversion function name>
[DEFAULT]

Comments?
--
Tatsuo Ishii

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Karel Zak 2002-07-09 07:34:30 Re: Proposal: CREATE CONVERSION
Previous Message Tatsuo Ishii 2002-07-09 06:23:35 Re: Proposal: CREATE CONVERSION