Steve Singer ssinger at ca.afilias.info
Tue Jul 6 06:29:18 PDT 2010
Christopher Browne wrote:
> Steve Singer <ssinger at ca.afilias.info> writes:
>> Attached is a patch that fixes bug 118 by performing a TRUNCATE ONLY
>> during the pre-subscription on 8.4 systems.
> 
> I have not tested the patch, but the approach certainly seems apropos
> to me.
> 
> E.g...  
> 
>   - Fold out the TRUNCATE request to a separate function
>   - Function for 8.4 does "TRUNCATE ONLY"
>   - Function for pre-8.4 does "TRUNCATE"
> 

I've applied this to 2.0
I am working on preparing a patch for 1.2, I will post it before I 
commit it.

However, my patch as posted/applied doesn't change the usage of 
'truncate' in the add_empty_table_to_replication function that is called 
by the replicate_partition function in sllony1_funcs.sql.  I don't see 
that function used anywhere.   Chris, do you remember what that function 
is intended for?


-- 
Steve Singer
Afilias Canada
Data Services Developer
416-673-1142


More information about the Slony1-patches mailing list