Bruce Momjian wrote:
> > I just realized that I need to check every usage of typtype to be
> > sure that the enums patch is sane. So, barring objection, I intend
> > to take this opportunity to make the code stop referring directly
> > to 'b', 'c' etc whereever possible. Any objections to these names?
> >
> > #define TYPTYPE_BASE 'b'
> > #define TYPTYPE_COMPOSITE 'c'
> > #define TYPTYPE_DOMAIN 'd'
> > #define TYPTYPE_ENUM 'e'
> > #define TYPTYPE_PSEUDO 'p'
>
> I like macros. ;-)
Why not enums? ;-)
--
Peter Eisentraut
http://developer.postgresql.org/~petere/