The following bug has been logged online: Bug reference: 5836 Logged by: David Pinheiro Email address: davidsantospinhe...@gmail.com PostgreSQL version: 8.4 Operating system: Centos Description: Enum Support Functions don't work on empty tables Details:
The functions referred on Table 9-29 in http://www.postgresql.org/docs/9.0/static/functions-enum.html don't work on empty tables. Example: If you have an empty table and you query: SELECT enum_range("enum_table_column") from "table_name"; postgres returns an empty result. If the table has some element, the query works ok. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs