Re: Partitioning option for COPY

From: Emmanuel Cecchet <manu(at)asterdata(dot)com>
To: Jan Urbański <wulczer(at)wulczer(dot)org>
Cc: Emmanuel Cecchet <manu(at)asterdata(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Partitioning option for COPY
Date: 2009-11-21 03:59:46
Message-ID: 4B0765B2.4040906@asterdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Jan,

Here is the updated patch.
Note that the new code in trigger is a copy/paste of the before row
insert trigger code modified to use the pointers of the after row
trigger functions.

Emmanuel

> Emmanuel Cecchet wrote:
>
>> Hi Jan,
>>
>> Here is a new version of the patch with the following modifications:
>> - used oid list from pg_list.h
>> - properly handles triggers and generate an error if needed (updated doc
>> as well)
>> - added your test cases + extra bad trigger cases
>>
>
> Hi,
>
> that got broken by the WHEN triggers patch
> (c6e0a36243a54eff79b47b3a0cb119fb67a55165), which changed the
> TriggerEnabled function signature, the code currently does not compile.
>
> I'll continue reading, in the meantime could you send a updated patch?
>
> Thanks,
> Jan
>
>

--
Emmanuel Cecchet
Aster Data
Web: http://www.asterdata.com

Attachment Content-Type Size
aster-copy-partitioning-patch-8.5-contextv5.txt text/plain 53.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2009-11-21 07:29:05 Re: enable-thread-safety defaults?
Previous Message David E. Wheeler 2009-11-21 02:30:24 Re: plperl and inline functions -- first draft