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 1j4rjw-0002si-FT for pgsql-bugs@arkaria.postgresql.org; Thu, 20 Feb 2020 19:44:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j4rjv-0007qs-5X for pgsql-bugs@arkaria.postgresql.org; Thu, 20 Feb 2020 19:44:03 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1j4rju-0007ql-QN for pgsql-bugs@lists.postgresql.org; Thu, 20 Feb 2020 19:44:02 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j4rjr-0008Oe-KU for pgsql-bugs@lists.postgresql.org; Thu, 20 Feb 2020 19:44:02 +0000 Received: by mail-qt1-x841.google.com with SMTP id g21so3747586qtq.10 for ; Thu, 20 Feb 2020 11:43:59 -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=B+WDbcUnAOMafnWjMVCKllDE/8py6oq85TsQkfDb8Ek=; b=k9vSV49msb8QySgAZZdf1WysgqR4T245/LDW8KBrIL2++/Py0QZjmp5SNzGU94u1jf APEGBBKRHV2GHo/fqNKHbj89FirNF9b0BpPdziVxDb2uRs6lbZqLkUNRYbw0tyxXvZEM PJityRXvLhSYA989TCfLXuZnLqzfSIouFoyOmZyDEiLdcJ2gXxQv/A7HxnCvidXYsgdn /R0WR2byy8XiPutQKcf9txLQMvNLYmt1BR+upeswd0hYXPPVBZfFUTS2GoRvdFsGE5tj dODnxe1Ctf2xcZHXVc7v/l0Zi0oP9pAKpXXj8PeFEFEY8blmaNXdjpe7/GFYq/AfC6CL Svug== 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=B+WDbcUnAOMafnWjMVCKllDE/8py6oq85TsQkfDb8Ek=; b=SECsthF525JkadzeBNAEZgxplviCWyrA4IfJOfeFrswn1kRl/XP5z+mGLCeMzSit9t 3TBpKx8wJ1okukl9YwH1yp0Zln45XoWyRZxwbVagWKjcmdeld61AztxN/GGyTqSGAU7W PIacjc3dMaT0cb9F/EWsSuypvJx4AXV4EaTSUETOA9gt2m6Nd1+tPafQw3JZS0w0yPLH up5+9j4iM8Dd39wlsk7GsmIDB3HBO8c49mKYhtW9wCTolAYdu/Y6zklvXJFLVWdnXXsx 65oSdyPUfMqHUvXt1VJgcC1U3q5sYIScc/634JDyOttVp98WGzcjQI8Okq1FqR7NKvSb FBrQ== X-Gm-Message-State: APjAAAUd+IBTzmhZOzE9Vqaa8XRlbhwnP/QWDOPCKBLz0YbeDnjUgib+ uIkmDNEP62EE+BMxAm3RDh06Zw== X-Google-Smtp-Source: APXvYqydxbDpBTHCARZOFDmCoB7RI7NpTNybph2XgD4MY/DgS8LhMHm6+Uex358Csz8+zq/vaQQWpg== X-Received: by 2002:ac8:6f5b:: with SMTP id n27mr26272085qtv.96.1582227837710; Thu, 20 Feb 2020 11:43:57 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([190.217.180.187]) by smtp.gmail.com with ESMTPSA id c10sm330023qkb.4.2020.02.20.11.43.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Feb 2020 11:43:57 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 63BFB3007E6; Thu, 20 Feb 2020 16:43:54 -0300 (-03) Date: Thu, 20 Feb 2020 16:43:54 -0300 From: Alvaro Herrera To: Jehan-Guillaume de Rorthais Cc: Tom Lane , pgsql-bugs@lists.postgresql.org Subject: Re: Another FK violation when referencing a multi-level partitioned table Message-ID: <20200220194354.GA14089@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200210113439.0ea5f15e@firost> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Feb-10, Jehan-Guillaume de Rorthais wrote: > > FWIW, I think the test query is too smart for its own good: > > [...] > > Indeed, thank you. Please find in attachment a patch making the test simpler. Thanks! Pushed. I also signed this commit, as an experiment. Our gitweb doesn't show anything, but github adds a "verified" badge to it. (I had to upload my public GPG key for this.) Nothing in the git command line shows anything about the commit being signed either; you have to ask for it explicitly. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services