From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Pinheiro <davidsantospinheiro@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5836: Enum Support Functions don't work on empty tables
Date: Thu, 13 Jan 2011 13:43:23 -0500
Message-ID: <20574.1294944203@sss.pgh.pa.us> (raw)
In-Reply-To: <201101131733.p0DHXBWs056451@wwwmaster.postgresql.org>
References: <201101131733.p0DHXBWs056451@wwwmaster.postgresql.org>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, davidsantospinheiro@gmail.com
Subject: Re: BUG #5836: Enum Support Functions don't work on empty tables
In-Reply-To: <20574.1294944203@sss.pgh.pa.us>
References: <201101131733.p0DHXBWs056451@wwwmaster.postgresql.org> <20574.1294944203@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox