pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: legrand legrand <legrand_legrand@hotmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Is there a work around for partition key needed for constraint
Date: Thu, 25 Oct 2018 22:33:57 -0700 (MST)
Message-ID: <1540532037246-0.post@n3.nabble.com> (raw)
In-Reply-To: <CACut7uR3EVpmmjwd=1xPMsH+UiuaidX1KDho1HZao+dvs_ck0A@mail.gmail.com>
References: <CACut7uTMN=E-OK+gdvUU3BMn+O+OAbA9nd3R=W9wLfnvv2TaHg@mail.gmail.com>
	<1540407880009-0.post@n3.nabble.com>
	<CACut7uS5pRV1=Y-p2q2-udF8BB8xjf4SaHj0BkYWDLBbM6yeRA@mail.gmail.com>
	<1540501366915-0.post@n3.nabble.com>
	<20181025231655.615d80c2@firost>
	<1540503362863-0.post@n3.nabble.com>
	<CACut7uR3EVpmmjwd=1xPMsH+UiuaidX1KDho1HZao+dvs_ck0A@mail.gmail.com>

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




view thread (10+ messages)

Message-ID: <1540532037246-0.post@n3.nabble.com>
Permalink:  ../1540532037246-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1540532037246-0.post@n3.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: legrand_legrand@hotmail.com
  Subject: Re: Is there a work around for partition key needed for constraint
  In-Reply-To: <1540532037246-0.post@n3.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox