The schemas in the two database must be *identical*. there are specific things you can let be different, but if you are just starting out, don't try to do that. also, there is a slony mailing list where the experts hang out.
I have two databases- db1 and db2 db1 is the master and db2 is slave.
In db1, create table t1(id integer primary key); In db2 , create table t1(id integer);
When i start replicating , why slony gives error cannot find index on id. But in place of integer ,if i use int4 datatype, data is replicating properly.