Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k4Fgn-00056Q-DE for pgsql-docs@arkaria.postgresql.org; Sat, 08 Aug 2020 03:38:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k4Fgk-0005tE-R9 for pgsql-docs@arkaria.postgresql.org; Sat, 08 Aug 2020 03:38:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k4Fgk-0005t6-Gd for pgsql-docs@lists.postgresql.org; Sat, 08 Aug 2020 03:38:30 +0000 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k4Fgd-0003m6-6a for pgsql-docs@lists.postgresql.org; Sat, 08 Aug 2020 03:38:28 +0000 Received: by mail-qt1-x843.google.com with SMTP id 6so2868661qtt.0 for ; Fri, 07 Aug 2020 20:38:22 -0700 (PDT) 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=chQhACgnxOU+7FYxo/y4znfSP1mYwO9vgb+i0RHRq+8=; b=g4sdiw7nIooP66DIvtMYz83B7V828t87K65S/4kDEf1i/DT+cHc70r6fzMZPNvLw1z ghA2VPbeyqZOCtHKbeo3yifmwxEWHUWMejJAZXVnIQCwbyNlUF8C5zr0yyq93uoKH5qh dZiP4YvHLbktWPLTpMFBYgUUOc1SdVKU4z/iO8hgPWu8/XCucnz4M1stt9EzNL6mClEX SmS7lrHpQ9xXHIVJ6FCAAy3JjtXMA6eK/ZyFRmLIUpG/ulFQGSjXKJQ1leXy63S4udV7 uprOwCeSMKm4Wf66aFQLlKsewn52G/PHFIgp9jFFYso3ThW9fe+I/jbguZZwU80wki3A yjmA== 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=chQhACgnxOU+7FYxo/y4znfSP1mYwO9vgb+i0RHRq+8=; b=g2482KedDCU/cku5hHH8BvBieoZTvXUvcI3TDCabStpAJH2SpzK91bP4//eTIgC1Mp l4kgbVThskjEOa2mm2EBlCZwRQ6Fm716clqPX+QDEoU/f2rf92jvn93kk40x3TB681UT ce3P1aioHS/z0Ir2q8gt9RQYiyHa80dfNt3hqNGMbRl9cOUOfWNNOln73Iqanxf3qHBB vBDQDqNSwCcEQq2AwJCAZy8Fg2sxdIEpahZEtHPdI6zQVETV8bNvrDw8c4WXw5oVmXDu gE/FD0sH4v0NKJkxvsDRktH/mMGLwGmLXM94jGD7jBsAxY4w61UMYYR96z+niB0AdBaU CUFQ== X-Gm-Message-State: AOAM531vb/LsvPJ2NuI4ymfbCNTKAuB3lZMmlrS2M030nPapTXxrjnbs KYrviLiQY5ZJFfE5bVG4PbZ+WA== X-Google-Smtp-Source: ABdhPJz0qHCRSzprFGyRZfhXmHNfwOyvy5D4ZG8Gdynk5k5uOh1XHXKcbgSHYgozft05egAeApHPRQ== X-Received: by 2002:aed:3947:: with SMTP id l65mr17772711qte.374.1596857902127; Fri, 07 Aug 2020 20:38:22 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.19.47]) by smtp.gmail.com with ESMTPSA id c42sm10364771qte.5.2020.08.07.20.38.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Aug 2020 20:38:21 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id C474D2A0FB9; Fri, 7 Aug 2020 23:38:19 -0400 (-04) Date: Fri, 7 Aug 2020 23:38:19 -0400 From: Alvaro Herrera To: Erwin Brandstetter Cc: pgsql-docs@lists.postgresql.org Subject: Re: Update limitations for declarative partitioning Message-ID: <20200808033819.GA15523@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-Aug-08, Erwin Brandstetter wrote: > - But the manual still warns at > https://www.postgresql.org/docs/13/ddl-partitioning.html#DDL-PARTITIONING-DECLARATIVE-LIMITATIONS > > BEFORE ROW triggers, if necessary, must be defined on individual > > partitions, not the partitioned table. > > > > Looks like that "limitation" can go now? Or reduced to something like: > > "BEFORE ROW triggers on the partitioned table cannot change which partition > is the destination." Oh, right, I'll patch that up tomorrow. Thanks for pointing it out. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services