From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ross J. Reedstrom <reedstrm@wallace.ece.rice.edu>
Cc: rob caSSon <rob@styro.lib.muohio.edu>
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] primary key view failure
Date: Thu, 05 Aug 1999 12:29:34 -0400
Message-ID: <4926.933870574@sss.pgh.pa.us> (raw)
In-Reply-To: <19990805110908.C7495@wallace.ece.rice.edu>
"Ross J. Reedstrom" <reedstrm@wallace.ece.rice.edu> writes:
> On Thu, Aug 05, 1999 at 10:26:16AM -0400, Tom Lane wrote:
>> rob caSSon <rob@styro.lib.muohio.edu> writes:
>>>> i have a perfectly valid sql statement that returns expected results, but
>>>> when i create a view based on the same sql, i get 0.
>>
>> Your example seems to work fine for me with current sources.
>> What version are you running?
> I just got the same results as Rob, with a 6.5.0 install,
OK, I went back and tried it with 6.5.1 and indeed see the same failure
as Rob. So it's something that's been fixed in the current sources.
I dunno what --- but I did a *lot* of work on the parser's array support
last month, and that might have something to do with it...
> and a hopefully helpful error message:
> idas_proto=> \d blah
> ERROR: get_ruledef of blah: unknown node type 111 in check_if_rte_used()
That one is still there in current sources. Will clean it up.
> So, is this fixed in 6.5.1, or is it something that needs backporting from
> current?
A backport from current may not be too practical, unless someone wants
to try to identify exactly what's failing in 6.5.*. I bet it's an array
issue, but beyond that I'm clueless.
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, reedstrm@wallace.ece.rice.edu, rob@styro.lib.muohio.edu
Subject: Re: [SQL] primary key view failure
In-Reply-To: <4926.933870574@sss.pgh.pa.us>
References: <19990805110908.C7495@wallace.ece.rice.edu> <4926.933870574@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