Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJlIb-0000sQ-5k for pgsql-bugs@arkaria.postgresql.org; Mon, 05 Nov 2018 20:16:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gJlIY-0004Pe-JP for pgsql-bugs@arkaria.postgresql.org; Mon, 05 Nov 2018 20:16:34 +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.89) (envelope-from ) id 1gJlIY-0004PW-D7 for pgsql-bugs@lists.postgresql.org; Mon, 05 Nov 2018 20:16:34 +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.89) (envelope-from ) id 1gJlIV-0000Qp-QF for pgsql-bugs@postgresql.org; Mon, 05 Nov 2018 20:16:34 +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 wA5KGH0k014488; Mon, 5 Nov 2018 15:16:17 -0500 From: Tom Lane To: "Ing. Gianluca Alberici" cc: Alvaro Herrera , Pg Bugs Subject: Re: Ris: BUG #15482: Foreign keys to a partition (NOT A PARTITIONED) break the server In-reply-to: References: <20181102225955.mpr7csoesko7r4lt@alvherre.pgsql> Comments: In-reply-to "Ing. Gianluca Alberici" message dated "Mon, 05 Nov 2018 20:10:43 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <14486.1541448977.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Mon, 05 Nov 2018 15:16:17 -0500 Message-ID: <14487.1541448977@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "Ing. Gianluca Alberici" writes: > Actually it is a strange behavior, look at this: > abi2=> begin; > BEGIN > abi2=>*delete from _abi_main_pof_t where poftid=1843635; server closed the > connection unexpectedly     This probably means the server terminated > abnormally     before or while processing the request. The connection to > the server was lost. Attempting reset: Failed. !> \q* Is it possible that you've done ALTER TABLE ADD COLUMN on _abi_main_pof_t or any other table touched by this query? If so, I bet this is explained by that expand_tuple bug. regards, tom lane