Poor-man's enumeration type - Mailing list pgsql-novice

From Keith Worthington
Subject Poor-man's enumeration type
Date
Msg-id 426DACF7.1040004@NarrowPathInc.com
Whole thread Raw
Responses Re: Poor-man's enumeration type  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Poor-man's enumeration type  (Michael Glaesemann <grzm@myrealbox.com>)
List pgsql-novice
Hi All,

I found this in the documentation.
http://www.postgresql.org/docs/8.0/interactive/datatype-character.html

    The type "char" (note the quotes) is different
    from char(1)in that it only uses one byte of
    storage. It is internally used in the system
    catalogs as a poor-man's enumeration type.

Is this a SQL standard data type?  Can I expect this type
to be supported in PostgreSQL 'forever'?  I need an enum
type and obviously this works.  At the moment I am not
faced with an imminent port but I hate to back myself into
a corner if I do not have to.

--
Kind Regards,
Keith

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: audit information
Next
From: Bruce Momjian
Date:
Subject: Re: Poor-man's enumeration type