Hi,
Thank you very much Mr. Browne for answering me back, I changed the script
to this,
cluster name=Cluster_10;
init cluster (id=1, comment='Nodo maestro');
create set (id=1, origin=1, comment='aqui van todas mis tablas');
set add table (set id=1, origin=1, id=1, fully qualified name='
public.Personas', comment='tabla de Personas del Cluster_1');
#set add table (set id=1, origin=1, id=2, fully qualified name='
public.Personas', comment='tabla de Personas del Cluster_2');
#set add table (set id=1, origin=1, id=3, fully qualified name='
public.Personas', comment='tabla de Personas del Cluster_3');
store node (id=2, comment='Nodo esclavo Cluster_2');
store node (id=3, comment='Nodo esclavo Cluster_3');
store path (server=1, client=2, conninfo='dbname=DB_Cluster_1
host=127.0.0.1user=root password=root port=5435');
store path (server=1, client=3, conninfo='dbname=DB_Cluster_1
host=127.0.0.1user=root password=root port=5435');
store path (server=2, client=1, conninfo='dbname=DB_Cluster_2
host=127.0.0.1user=root password=root port=5436');
store path (server=2, client=3, conninfo='dbname=DB_Cluster_2
host=127.0.0.1user=root password=root port=5436');
store path (server=3, client=1, conninfo='dbname=DB_Cluster_3
host=127.0.0.1user=root password=root port=5437');
store path (server=3, client=2, conninfo='dbname=DB_Cluster_3
host=127.0.0.1user=root password=root port=5437');
store listen (origin=1, provider=1, receiver=2);
store listen (origin=1, provider=1, receiver=3);
store listen (origin=2, provider=2, receiver=1);
store listen (origin=2, provider=2, receiver=3);
store listen (origin=3, provider=3, receiver=1);
store listen (origin=3, provider=3, receiver=2);
but even so now I get a new error message
C:\Archivos de programa\PostgreSQL\8.2\bin>slonik config.conf
config.conf:36: PGRES_FATAL_ERROR select
"_Cluster_14".determineIdxnameUnique('public.Personas', NULL);
- ERROR: Slony-I: determineIdxnameUnique(): table " public"."Personas" not
found
So I look out in google and put "Slony-I: determineIdxnameUnique():", and
found this <
http://linuxfinances.info/info/function.determineidxnameunique-text-name.html>
, FUNCTION determineIdxnameUnique (tab_fqname, indexname) Given a tablename,
tab_fqname, check that the unique index, indexname, exists or return the
primary key index name for the table. If there is no unique index, it raises
an exception.
I am not sure of which index key does it talk, if it is of the databases
form the clusters, all of them have their owns, I will add to this post the
databases (all of them –DB_Cluster_1, DB_Cluster_2 and DB_Cluster_3- has the
same) struct
-- Table: "Personas"
-- DROP TABLE "Personas";
CREATE TABLE "Personas"
(
"Id" integer NOT NULL,
nom1 "char",
nom2 "char",
apel1 "char",
apel2 "char",
CONSTRAINT "Personas_pkey" PRIMARY KEY ("Id")
)
WITHOUT OIDS;
ALTER TABLE "Personas" OWNER TO root;
I do really appreciate any help or guidance.
Jaison J. Gonz=E1lez Chaux
_______________________________________________
Slony1-general mailing list
[email protected]
http://lists.slony.info/mailman/listinfo/slony1-general