Re: Partitioning triggers doc patch

From: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: pgsql-hackers(at)postgresql(dot)org, Rural Hunter <ruralhunter(at)gmail(dot)com>
Subject: Re: Partitioning triggers doc patch
Date: 2012-03-12 17:31:21
Message-ID: CAJKUy5jkACskX=JU7HF2ce9-v3nCTmbvX41=aDX0J9bUSL8Wbw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Mar 12, 2012 at 10:41 AM, Kevin Grittner
<Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
> Attached is a doc patch based on a suggestion by Rural Hunter to
> address something he found confusing while setting up partitioning.
>
> Original thread is here:
>
> http://archives.postgresql.org/pgsql-admin/2012-03/msg00066.php
>

you can create trigger that execute before the trigger that redirect
to the partition, for example to stamp the time or the user... so it
should state something like i said about constraints

"""
Do not define any check constraints on this table, unless you intend
them to be applied equally to all partitions.
"""

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2012-03-12 17:39:38 Re: Partitioning triggers doc patch
Previous Message Robert Haas 2012-03-12 17:28:11 Re: foreign key locks, 2nd attempt