pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: gunnar.bluth@pro-open.de
To: pgsql-bugs@postgresql.org
Subject: BUG #10527: TRAP when joining local table with view on tds_fdw foreign table
Date: Wed, 04 Jun 2014 16:16:46 +0000
Message-ID: <20140604161646.22902.19572@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      10527
Logged by:          Gunnar &quot;Nick&quot; Bluth
Email address:      gunnar.bluth@pro-open.de
PostgreSQL version: 9.4beta1
Operating system:   RHEL 6.5
Description:        

Greetings!

Not sure if this might be a 9.4 regression or if the FDW interface has
changed and tds_fdw needs some tweaking, however:

When I join a local table with a view on a foreign table (tds_fdw), I get 

TRAP: FailedAssertion("!(outer_rel->rows > 0)", File: "indxpath.c", Line:
1861)

and the server restarts.

This is reproducable and happens even when EXPLAINing the query.

The forreign table, the view and the local table can be accessed normally,
also when filtering by the columns used for the crashing join.

Cheers,

Nick


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (6+ messages)  latest in thread

Message-ID: <20140604161646.22902.19572@wrigleys.postgresql.org>
Permalink:  ../20140604161646.22902.19572@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20140604161646.22902.19572@wrigleys.postgresql.org

 · 

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: gunnar.bluth@pro-open.de
  Subject: Re: BUG #10527: TRAP when joining local table with view on tds_fdw foreign table
  In-Reply-To: <20140604161646.22902.19572@wrigleys.postgresql.org>
  References: <20140604161646.22902.19572@wrigleys.postgresql.org>

* 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