> On Feb 28, 2019, at 12:12, David Christensen <[email protected]> wrote:
> 
> So say you define a plperl function on your source database “fix_encoding()” 
> that just basically wraps the Encoding::FixLatin routine, then define the 
> customcols for each table in the sync to include instead of “SELECT 
> textfield1, field2 FROM table1”, “SELECT fix_encoding(textfield1), field2 
> FROM table1”.  It would be easy enough to query the system tables and 
> generate the appropriate customcols definition for each table depending on 
> field type.

Oh, clever!   I'll explore that... thanks!
--
-- Christophe Pettus
   [email protected]

_______________________________________________
Bucardo-general mailing list
[email protected]
https://mail.endcrypt.com/mailman/listinfo/bucardo-general

Reply via email to