pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jon Nelson <jnelson+pgsql@jamponi.net>
Cc: pgsql-bugs@postgresql.org
Subject: Re: view + explain + index scan -> bogus varno: 65001 (with some variations)
Date: Sun, 03 Jul 2011 01:40:51 -0400
Message-ID: <18551.1309671651@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKuK5J2=ExVj9STLK+Uy+=gFdQir4Ua3qe7Gj-Xecb3=EGhdPQ@mail.gmail.com>
References: <BANLkTin7T900fE+2RmZNayT-gNp1URW24Q@mail.gmail.com>
	<4207.1309552056@sss.pgh.pa.us>
	<CAKuK5J2=ExVj9STLK+Uy+=gFdQir4Ua3qe7Gj-Xecb3=EGhdPQ@mail.gmail.com>

Jon Nelson <jnelson+pgsql@jamponi.net> writes:
> On Fri, Jul 1, 2011 at 3:27 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> FWIW, I can't reproduce such a failure with current 8.4 branch (nor any
>> other).

> Try adding:
> set enable_mergejoin = false;

Thanks, that did it.  I've repaired the symptom exposed here:
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=d3d3ec0d890412f3b39a70e8fd08edf17e3...
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=789d3d4541e95c6079a55196bd63a6ab90e...

However, while I see how this could generate "bogus varno: 65001", I'm
not entirely sure that the same issue explains your other report of
"bogus varattno for OUTER var".  If you can still reproduce that,
please send a test case.

			regards, tom lane



view thread (4+ messages)

Message-ID: <18551.1309671651@sss.pgh.pa.us>
Permalink:  ../18551.1309671651@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18551.1309671651@sss.pgh.pa.us

 · 

reply

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, jnelson+pgsql@jamponi.net
  Subject: Re: view + explain + index scan -> bogus varno: 65001 (with some variations)
  In-Reply-To: <18551.1309671651@sss.pgh.pa.us>
  References: <BANLkTin7T900fE+2RmZNayT-gNp1URW24Q@mail.gmail.com> <4207.1309552056@sss.pgh.pa.us> <CAKuK5J2=ExVj9STLK+Uy+=gFdQir4Ua3qe7Gj-Xecb3=EGhdPQ@mail.gmail.com> <18551.1309671651@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