char types gone. - Mailing list pgsql-hackers

From darrenk@insightdist.com (Darren King)
Subject char types gone.
Date
Msg-id 9803210045.AA22642@ceodev
Whole thread Raw
Responses Re: [HACKERS] char types gone.  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
Have managed to delete char2,4,8 and 16.  The char16 was tricky
since it was still one of the builtins.  Removed fine everywhere
but the bootstrap code.  Had to leave a dummy entry in the Procid
array so all of the types after char16 would be indexed correctly.
Could remove this dummy by moving types 21-30 down one, but that
would entail renumbering the catalog.  With that in mind, I can
live with a filler entry in an array.  Heaven knows there are bigger
and badder hacks elsewhere in the code dying to be discovered. :)

Three points now...regression tests, docs and interfaces.

1. Regression tests make very extensive use of char16.  Seems to
me that these should be changed to a name.  Same for tutorial and
any other example references in the code.  Seem ok?

2. I'll take my best shot at the docs.

3. Also take a look/see at the interfaces that reference the char16.
Perhaps would be better for me to contact the maintainers of those
interfaces as they would know what to do better than I.

Once I do one and two, I'll submit the patch.

darrenk

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] perl/perl5
Next
From: The Hermit Hacker
Date:
Subject: Final one...?