Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1di1cp-0004YT-1Q for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Aug 2017 16:56:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1di1co-0002bW-KV for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Aug 2017 16:56:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1di1cn-0002af-Sx for pgsql-bugs@postgresql.org; Wed, 16 Aug 2017 16:56:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1di1ck-0001Su-R6 for pgsql-bugs@postgresql.org; Wed, 16 Aug 2017 16:56:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v7GGunUo028875; Wed, 16 Aug 2017 12:56:49 -0400 From: Tom Lane To: Alvaro Herrera cc: Maksim Karaba , "pgsql-bugs@postgresql.org" Subject: Re: BUG #14781: server process was terminated by signal 11: Segmentation fault In-reply-to: <20170816164737.mvd3dl4xgk2ofoia@alvherre.pgsql> References: <20170816164737.mvd3dl4xgk2ofoia@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 16 Aug 2017 13:47:37 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28873.1502902609.1@sss.pgh.pa.us> Date: Wed, 16 Aug 2017 12:56:49 -0400 Message-ID: <28874.1502902609@sss.pgh.pa.us> 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 Alvaro Herrera writes: > Tom Lane wrote: >> If you want to push this forward rather than wait for somebody else >> to hit the problem, you could try adding something like >> >> if (fsplan->scan.scanrelid == 0 && outerPlanState(node) == NULL && >> (estate->es_plannedstmt->commandType != CMD_SELECT || >> estate->es_rowMarks)) >> elog(WARNING, "foreign join plan lacks EPQ support"); >> >> near the beginning of postgresBeginForeignScan and then running your app >> on a test server. > Hmm, is there a reason this cannot be included as a sanity check always? That's off-the-cuff rather than something I'm sure is correct. But yeah, I was wondering about pushing something like that into the standard code. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs