Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WsDsC-0002Vz-8v for pgsql-bugs@arkaria.postgresql.org; Wed, 04 Jun 2014 16:17:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WsDsB-0004cP-Mw for pgsql-bugs@arkaria.postgresql.org; Wed, 04 Jun 2014 16:17:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WsDsA-0004aJ-6G for pgsql-bugs@postgresql.org; Wed, 04 Jun 2014 16:17:06 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WsDs6-00017t-EY for pgsql-bugs@postgresql.org; Wed, 04 Jun 2014 16:17:05 +0000 MIME-Version: 1.0 Subject: BUG #10527: TRAP when joining local table with view on tds_fdw foreign table To: pgsql-bugs@postgresql.org From: gunnar.bluth@pro-open.de Date: Wed, 04 Jun 2014 16:16:46 +0000 Message-ID: <20140604161646.22902.19572@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 10527 Logged by: Gunnar "Nick" 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