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 1ikxIm-0001jD-KE for pgsql-bugs@arkaria.postgresql.org; Fri, 27 Dec 2019 21:37:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ikxIl-0002s2-FO for pgsql-bugs@arkaria.postgresql.org; Fri, 27 Dec 2019 21:37:43 +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 1ikxIl-0002rv-4H for pgsql-bugs@lists.postgresql.org; Fri, 27 Dec 2019 21:37:43 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ikxIh-0003XI-Ta for pgsql-bugs@postgresql.org; Fri, 27 Dec 2019 21:37:42 +0000 Received: by mail-pl1-x644.google.com with SMTP id c23so12192016plz.4 for ; Fri, 27 Dec 2019 13:37:39 -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=bJwykGx05+ZvOgU7ew39nCCJCzYxtHHgKF8uzAsBGe4=; b=YDm2mN0YBTjIbzdLrsAYbCLUIh2Re+G3ijc2lcfI49KA6QPszoDMlFL/tePK91iJrM bYd6q0nXubYc6b1N1FvxMADJxIjNhcGw9HRCsnk32+0zhnRa1I7wlxlfJ2ixT2YxQ8Gv YmfGU/IlzOang5aK4ZQzqgY2fX290mGmofodlOceml/X60+JercjgWLtuP7U99zIgB8t ILcJf3xjfcwucCv/fuiu/cHFWHcpOX1VV2o4UFWLgxjOZ+aoq4jWwfkWVSycwAZpfm7n O1AB4vwB4dN5XzImmlWUQT+LsxjXF9wuTqEFIjpiqK2K1JP1LTFdcifxhD11ebh8CQvk B5xg== 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=bJwykGx05+ZvOgU7ew39nCCJCzYxtHHgKF8uzAsBGe4=; b=T/urXvsz5KYsTjc0ICRrCHTXZLsrWxbESka81EhvB6Q7/7A7o7TstBthNkS2jVI4E8 FbzEB/adGGS9o+Mre0scj+U3DOLl9rtMEUveE8VUEs9zXltUMB0bircciwwDg51gJdun GLCLAzmjhfTPOlcYfgDnjrz5fS48NxZT6ogFZNEsHkhZVll9ZO3I5NXwnarqNpuR8A/H nV1FzcqDLMjFTh8dEvhx/59HWAoVSbRYe2ZaIz3hJ2BDw7j1C2b2VmDMker4lXtkvcvZ AAzq2jjyYhhAMYF8ReEDRpC0FdEc7lhEpaCOPBVCz8mtkAA6JYqwnctFfqg3kSaBs7Sp V4gQ== X-Gm-Message-State: APjAAAXYzA+vxib6BzUDTmtXLvXa4nyOXG2YYuNZDRV4GookqPQJ4S+t cPCh9TV5vWQxoCNaVplwotJIXA== X-Google-Smtp-Source: APXvYqzQNNXqm0QqW8UfI/Sn3fUEYuzQtEDf0CX/EAZSEHp4MoJqmcXncarclZGLUOJdfvYJNBNLeA== X-Received: by 2002:a17:90a:fc82:: with SMTP id ci2mr28306124pjb.13.1577482657315; Fri, 27 Dec 2019 13:37:37 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([179.56.30.174]) by smtp.gmail.com with ESMTPSA id q12sm41621912pfh.158.2019.12.27.13.37.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Dec 2019 13:37:36 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 2CBC33008FE; Fri, 27 Dec 2019 18:37:34 -0300 (-03) Date: Fri, 27 Dec 2019 18:37:34 -0300 From: Alvaro Herrera To: Amit Langote Cc: Petr Fedorov , PostgreSQL mailing lists Subject: Re: A row-level trigger on a partitioned table is not created on a sub-partition created later Message-ID: <20191227213734.GA19021@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Dec-26, Amit Langote wrote: > > Indeed it does, but looks like partition triggers are not tested that > extensively in pg_dump's suite. Hmm, you're right. I added a test to the three branches that would be broken by your first patch. I hope the buildfarm likes it. Working on getting your fix pushed now. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services