Re: Ideas needed: How to create and store collation - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: Ideas needed: How to create and store collation
Date
Msg-id 20021119.102130.35471748.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: Ideas needed: How to create and store collation tables  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> I'd be inclined to handle it similarly to the way that Tatsuo did with
> conversion_procs: let collations be represented by comparison functions
> that meet some suitable API.  I think that trying to represent such a
> table as an SQL table compactly will be a nightmare, and trying to
> access it quickly enough for reasonable performance will be worse.  Keep
> the problem out of the API and let each comparison function do what it
> needs to do internally.

Agreed. That was the way I have been thinking about collation/create
character stuff too.
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: mislaid reference to update script for after 7.3 upgrade
Next
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: char(n) to varchar or text conversion should strip