"Rod Taylor" <rbt(at)barchord(dot)com> writes:> This is rather like MySQL's enum.
Yes. If we were going to do anything like this, I'd vote for stealingthe "enum" API, lock stock and barrel --- might as well be compatible.
regards, tom lane