Chris Browne cbbrowne at lists.slony.info
Wed Apr 18 12:26:57 PDT 2007
Update of /home/cvsd/slony1/slony1-engine/tests/testutf8
In directory main.slony.info:/tmp/cvs-serv18264/tests/testutf8

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/testutf8/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:36 -0000	1.1
--- init_add_tables.ik	18 Apr 2007 19:26:55 -0000	1.2
***************
*** 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');
! 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 table (id=4, set id=1, origin=1, fully qualified name = 'public.utf8table', comment='Test table for multibyte/UTF8');
--- 1,4 ----
  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 table (id=4, set id=1, origin=1, fully qualified name = 'public.utf8table', comment='Test table for multibyte/UTF8');

Index: init_schema.sql
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/testutf8/init_schema.sql,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** init_schema.sql	14 Mar 2007 15:54:07 -0000	1.3
--- init_schema.sql	18 Apr 2007 19:26:55 -0000	1.4
***************
*** 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)
  ); 
  



More information about the Slony1-commit mailing list