[HACKERS] Re: Encoding names

2001-02-21 Thread Karel Zak
On Thu, 22 Feb 2001, Tatsuo Ishii wrote: > > > As you probably know, there is already a binary search algorithm coded > > > up for the date/time string lookups in utils/adt/datetime.c. Since that > > > lookup caches the last value (which could be done here too) most lookups > > > are immediate.

[HACKERS] Re: Encoding names

2001-02-21 Thread Tatsuo Ishii
> > As you probably know, there is already a binary search algorithm coded > > up for the date/time string lookups in utils/adt/datetime.c. Since that > > lookup caches the last value (which could be done here too) most lookups > > are immediate. > > > > Are you proposing to make a change Karel,

[HACKERS] Re: Encoding names

2001-02-21 Thread Karel Zak
On Wed, 21 Feb 2001, Thomas Lockhart wrote: > > You not must change current names, you can add to pg_conv_tbl[] new lines > > with names synonym for already existing encoding... > > {LATIN1, "LATIN1", 0, latin12mic, mic2latin1, 0, 0}, > > {LATIN1, "ISO-8859-1", 0, latin12mic, mic2latin1,

[HACKERS] Re: Encoding names

2001-02-21 Thread Thomas Lockhart
> You not must change current names, you can add to pg_conv_tbl[] new lines > with names synonym for already existing encoding... > {LATIN1, "LATIN1", 0, latin12mic, mic2latin1, 0, 0}, > {LATIN1, "ISO-8859-1", 0, latin12mic, mic2latin1, 0, 0}, > And if you order this table by alphabet and