Sun Oct 15 16:11:56 PDT 2006
- Previous message: [Slony1-general] some questions
- Next message: [Slony1-general] Newbie questions about the slon processes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 10/15/06, Andreas Kretschmer <akretschmer at spamfence.net> wrote: > Hi, > > I'm a new slony-user. First, it runs, great! > > Questions: > > 1. I know, a TRUNCATE are not replicated because "TRUNCATE will not run > any user-defined ON DELETE triggers that might exist for the tables.", > and i know, slony based on TRIGGERs. > What is the best solution to solve this problem? For instance, i have > an application that regulary truncate a table. If i replicate this > table with slony, than i run into problems... a) modify the application to use DELETE instead of truncate and deal with the performance issue b) modify the application to do TRUNCATE by running a slonik EXECUTE SCRIPT command. > 2. I have defined some sets, which tables replicated. But how can i ask > slony/PostgreSQL to tell me all defined sets? Take a look at the schema slony created in your database when you ran INIT CLUSTER... Drew
- Previous message: [Slony1-general] some questions
- Next message: [Slony1-general] Newbie questions about the slon processes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list