Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j0A9r-0002L0-2l for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Feb 2020 20:23:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j0A9p-00048v-Rj for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Feb 2020 20:23:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j0A9p-00048o-GM for pgsql-bugs@lists.postgresql.org; Fri, 07 Feb 2020 20:23:21 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j0A9m-0000Nj-Uz for pgsql-bugs@lists.postgresql.org; Fri, 07 Feb 2020 20:23:20 +0000 Received: by mail-qt1-x842.google.com with SMTP id j5so358101qtq.9 for ; Fri, 07 Feb 2020 12:23:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=Cs0Gvf09JCvsMI9WilMx7kcUn0Xc6pVFQ4RBT/Ld4so=; b=qnr0uLOMzK3pZm95p+lrGiUF9XAdKZG2HeJv3uccZuEeK12dUE6rvfSduE6V6SnXMG vnPRFYqoeOCL6cRw+n2BIhZZP3DtHptkIY+cPyJfQh/1ysPAMWpeqO2xASTvtuWvS4y7 RJHHfdhKFzlBVw+VnjfgIinsX3l9/DQ6Iqa5WGQu6u1fud8XXnIEQPI8w7XZWsktH7AK a9oNCVZKBrQtUCpuxmtFzqUV2lMtyaLMFPP/8g4VQo8fkP2jjARC+ZZ+A3Gn1wON8v4Z BpsrTOBoq8RKj8mIliwEaZ6ZlWiurg+3a2t3lrfgoFkjqMYvR92GN36P8TSdzXzzTaBo Eh0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=Cs0Gvf09JCvsMI9WilMx7kcUn0Xc6pVFQ4RBT/Ld4so=; b=g470hK03xU5tV+Zf2Lo4MXKGEsNm5qQ3R2p86dgNMTH6dDqxV1E+sfvq5rGJ8yX8D1 xokVEeOrqsOOdmRmD5XjrTBIVqqukcq59dJk+vVoMUi3YT3yfXeLYCmE+F+ylNxTCVPP FpHTeKGt7bX+q5YGepGJ5kNYAZuTo7xsQVhc2/b0LTpbhfpxgqrSnXvSY3MlfuO5zHsy /NJMw4U1Oc7QDg4J+FkJ9wV8z+majC9Ju40R90BgXZ5DUCWMaCpMpe18uLbK8fLGkk0F /BqLiR9pOdCEszTFbOKal51z1RPOSy69tMCaiuYM5fmElWWLCTsEmZyTFDLPVrw6XEXh P0uA== X-Gm-Message-State: APjAAAXl8duHqDYtqV+bJvuG2D1Isrwlxsl7ioFOnRkznjbQIgZJ8Bqq w3J3oKXPFbsQomMqqHOV6BYPtg== X-Google-Smtp-Source: APXvYqzdND1pZDqpRsnChH9E2bLNINzLU+KVKbhln23SgwaFwClfo3FpYClmdOnEsOEKUMdTMTE/JA== X-Received: by 2002:ac8:f85:: with SMTP id b5mr145564qtk.200.1581106998013; Fri, 07 Feb 2020 12:23:18 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([190.217.182.22]) by smtp.gmail.com with ESMTPSA id v18sm1828660qkg.67.2020.02.07.12.23.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Feb 2020 12:23:17 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 84119300930; Fri, 7 Feb 2020 17:23:15 -0300 (-03) Date: Fri, 7 Feb 2020 17:23:15 -0300 From: Alvaro Herrera To: Jehan-Guillaume de Rorthais Cc: pgsql-bugs@lists.postgresql.org Subject: Re: FK violation in partitioned table after truncating a referenced partition Message-ID: <20200207202315.GA16048@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200207201948.GA16783@alvherre.pgsql> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Pushed. Thanks for testing and fixing. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services