Simon Riggs wrote:
On Wed, 2006-11-15 at 16:38 -0500, Andrew Dunstan wrote:
My little enumkit tool allows you to create enumerations today very
easily, but its values are completely hardcoded. However, the above
trick still works. The downside is that each enumeration type requires a
tiny bit of compilation.
Andrew,
Your enum sounds good, apart from the hardcoded/compilation thing. That
is a data management nightmare AFAICS and so restricts the usefulness of
the solution.
Simon, Tom Dunstan has submitted a patch for first class enum types that
do not have the compilation requirement - it's in the queue for 8.3. You
might want to review that.
cheers
andrew
---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend