Re: BUG #5836: Enum Support Functions don't work on empty tables - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5836: Enum Support Functions don't work on empty tables
Date
Msg-id 20574.1294944203@sss.pgh.pa.us
Whole thread Raw
In response to BUG #5836: Enum Support Functions don't work on empty tables  ("David Pinheiro" <davidsantospinheiro@gmail.com>)
List pgsql-bugs
"David Pinheiro" <davidsantospinheiro@gmail.com> writes:
> Example: If you have an empty table and you query:
> SELECT enum_range("enum_table_column") from "table_name";
> postgres returns an empty result.

That doesn't seem like a bug.  No rows in, no rows out.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "David Pinheiro"
Date:
Subject: BUG #5836: Enum Support Functions don't work on empty tables
Next
From: "frank"
Date:
Subject: Re: BUG #5816: index not used in function