Re: Partitioning option for COPY

Emmanuel Cecchet <manu@asterdata.com>

From: Emmanuel Cecchet <manu@asterdata.com>
To: Jan Urbański <wulczer@wulczer.org>
Cc: Emmanuel Cecchet <manu@asterdata.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2009-11-21T03:59:46Z
Lists: pgsql-hackers

Attachments

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