Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gFul4-0001ka-CS for pgsql-admin@arkaria.postgresql.org; Fri, 26 Oct 2018 05:34:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gFul2-0007x5-6V for pgsql-admin@arkaria.postgresql.org; Fri, 26 Oct 2018 05:34:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gFul1-0007vd-Rb for pgsql-admin@lists.postgresql.org; Fri, 26 Oct 2018 05:34:04 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gFukx-0008Ve-26 for pgsql-admin@postgresql.org; Fri, 26 Oct 2018 05:34:02 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 3CF83FED84EF for ; Thu, 25 Oct 2018 22:33:57 -0700 (MST) Date: Thu, 25 Oct 2018 22:33:57 -0700 (MST) From: legrand legrand To: pgsql-admin@postgresql.org Message-ID: <1540532037246-0.post@n3.nabble.com> In-Reply-To: References: <1540407880009-0.post@n3.nabble.com> <1540501366915-0.post@n3.nabble.com> <20181025231655.615d80c2@firost> <1540503362863-0.post@n3.nabble.com> Subject: Re: Is there a work around for partition key needed for constraint MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Jorge Torralba wrote > Thanks for the suggestion. But there is one slight problem :) > > DETAIL: Partitioned tables cannot have BEFORE / FOR EACH ROW triggers. Given exemple, works on a 11beta2 release. Triggers have to be created at PARTITION level, not at TABLE level (where it is not supported ;o(. Regards PAscal -- Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html