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.92) (envelope-from ) id 1j6alo-0007vX-5f for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Feb 2020 14:01:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j6alm-0000h2-LV for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Feb 2020 14:01:06 +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 1j6alm-0000gt-3f for pgsql-hackers@lists.postgresql.org; Tue, 25 Feb 2020 14:01:06 +0000 Received: from mail-qv1-xf43.google.com ([2607:f8b0:4864:20::f43]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j6alg-0003Nw-Ge for pgsql-hackers@lists.postgresql.org; Tue, 25 Feb 2020 14:01:04 +0000 Received: by mail-qv1-xf43.google.com with SMTP id g6so5720120qvy.5 for ; Tue, 25 Feb 2020 06:01:00 -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=pa+h86AhzA7NiA+0Ch3ZlMUe3kEn8SKqojwyKj1jYHk=; b=P5z5+oJd/t/Oy0i0wvyMkQFecdFjALwM+waOzGpX0jNwqEHP9B962tgZZp3rKCyfWN mBRTTzqMiZyzUxkEEAEV20JZ4oLV+b91OgqBQMce4aD5OSIQXTP9+IudFwVCAQqKgfp6 FSx2izZUIU4Tt8B8DBP0w9ZjpRm3VrXH2etpQTRjF2AKhjdDy1KVSPd2TyRcrBV+hqTm /A9uxB2XSruv7nZNsFSACZ5npb6M24JkiIJjAl6USkLcIWSQ+DJ7ha72VZB359gFPby2 dwvX7LlG3XpZ0D7nhDzVQOVMj7QhO/29yNMT+76DpdfMSbnVT0O9G5NenwaZbRvuLmwC X8FQ== 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=pa+h86AhzA7NiA+0Ch3ZlMUe3kEn8SKqojwyKj1jYHk=; b=Qd5Mw8v0aEOjYZSUaXUeS2bUkKC0RAjyxvWwyD2APkx3LyrVwYOlvViPNC032W1Wif OY8q8wppBQhoeq5IX4tkfZhFWlgyEqCfUw84TFvlP7L9N567uqvAttGNp8Jm7Eyqwkud xaHNjQlF0GHTCYmQdTXeVNHAmN9dJV4U8SE7d/SkMYGlmzPS2C+Ti3cmp4kttMa/N0Nr wLl8OAJ325e7mZxgo1BM2RAF40p3Ma/hpKKu/hkaM4B6up6fd+62AdZt3tkTDC7qxPih Ab2rH0rNfJ1DGWi9gP43uis+hWAsLEP9m2d9u+kxd4KXtUjiW1W069e7/v4c6kA/g0oW XXow== X-Gm-Message-State: APjAAAVw6GSXcDo+WzKKacxSxZPEq0zgUcsb57WGQ4sMDzB/QVkCzE0I Ufs2Xzxs7wIvluqYO3WxRFT2NQ== X-Google-Smtp-Source: APXvYqxINBLpVgGSNiMcRyZwq0TYlLZkF2zJmMhGrxPi3ARMFVGpjpyYzWV0D9Y8IZYCPRSjyizgZQ== X-Received: by 2002:a0c:cc8e:: with SMTP id f14mr51124657qvl.119.1582639259277; Tue, 25 Feb 2020 06:00:59 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([70.32.0.64]) by smtp.gmail.com with ESMTPSA id p50sm7874617qtf.5.2020.02.25.06.00.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2020 06:00:58 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id B871E30064B; Tue, 25 Feb 2020 11:00:55 -0300 (-03) Date: Tue, 25 Feb 2020 11:00:55 -0300 From: Alvaro Herrera To: Amit Langote Cc: Pg Hackers , Tom Lane Subject: Re: pg_trigger.tgparentid Message-ID: <20200225140055.GA1669@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 2020-Feb-25, Amit Langote wrote: > On Tue, Feb 25, 2020 at 3:58 AM Alvaro Herrera wrote: > > Thanks for pointing this out -- I agree it needed rewording. I slightly > > adjusted your text like this: > > > > * Internal triggers require careful examination. Ideally, we don't > > * clone them. However, if our parent is itself a partition, there > > * might be internal triggers that must not be skipped; for example, > > * triggers on our parent that are in turn clones from its parent (our > > * grandparent) are marked internal, yet they are to be cloned. > > > > Is this okay for you? > > Thanks. Your revised text looks good, except there is a typo: > > in turn clones -> in turn cloned Actually, that was on purpose ... (I also changed "were" to "are" to match.) -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services