Wed Apr 18 12:26:57 PDT 2007
- Previous message: [Slony1-commit] slony1-engine/tests/testddl README ddl_update_part2.sql generate_dml.sh individual_ddl.sh init_add_tables.ik init_schema.sql init_subscribe_set.ik
- Next message: [Slony1-commit] slony1-engine/tests/testtabnames init_add_tables.ik init_schema.sql
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/tests/testseqnames
In directory main.slony.info:/tmp/cvs-serv18264/tests/testseqnames
Modified Files:
init_add_tables.ik init_schema.sql
Log Message:
Applied changes made in 1.2 branch to fix "EXECUTE SCRIPT" only on a specified
node to HEAD.
Also fixed up a bunch of tests that were using TABLE ADD KEY (no longer
supported in HEAD).
Index: init_add_tables.ik
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/testseqnames/init_add_tables.ik,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** init_add_tables.ik 15 Nov 2005 21:25:35 -0000 1.1
--- init_add_tables.ik 18 Apr 2007 19:26:54 -0000 1.2
***************
*** 1,6 ****
set add table (id=1, set id=1, origin=1, fully qualified name = 'public.table1', comment='accounts table');
set add table (id=2, set id=1, origin=1, fully qualified name = 'public.table2', key='table2_id_key');
! table add key (node id = 1, fully qualified name = 'public.table3');
! set add table (id=3, set id=1, origin=1, fully qualified name = 'public.table3', key = SERIAL);
set add sequence (set id = 1, origin = 1, id = 1, fully qualified name = 'public."Evil Spacey Sequence Name"');
--- 1,5 ----
set add table (id=1, set id=1, origin=1, fully qualified name = 'public.table1', comment='accounts table');
set add table (id=2, set id=1, origin=1, fully qualified name = 'public.table2', key='table2_id_key');
! set add table (id=3, set id=1, origin=1, fully qualified name = 'public.table3');
set add sequence (set id = 1, origin = 1, id = 1, fully qualified name = 'public."Evil Spacey Sequence Name"');
Index: init_schema.sql
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/testseqnames/init_schema.sql,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** init_schema.sql 15 Nov 2005 21:25:35 -0000 1.1
--- init_schema.sql 18 Apr 2007 19:26:54 -0000 1.2
***************
*** 17,21 ****
mod_date TIMESTAMPTZ NOT NULL DEFAULT now(),
data FLOAT NOT NULL DEFAULT random()
! CONSTRAINT table3_date_check CHECK (mod_date <= now())
);
--- 17,22 ----
mod_date TIMESTAMPTZ NOT NULL DEFAULT now(),
data FLOAT NOT NULL DEFAULT random()
! CONSTRAINT table3_date_check CHECK (mod_date <= now()),
! primary key (id)
);
- Previous message: [Slony1-commit] slony1-engine/tests/testddl README ddl_update_part2.sql generate_dml.sh individual_ddl.sh init_add_tables.ik init_schema.sql init_subscribe_set.ik
- Next message: [Slony1-commit] slony1-engine/tests/testtabnames init_add_tables.ik init_schema.sql
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list