CVS User Account cvsuser
Mon Dec 12 21:41:26 PST 2005
Log Message:
-----------
Reorder schema setup, as previously done in HEAD

Tags:
----
REL_1_1_STABLE

Modified Files:
--------------
    slony1-engine/tests/testddl:
        init_schema.sql (r1.1.2.1 -> r1.1.2.2)

-------------- next part --------------
Index: init_schema.sql
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tests/testddl/init_schema.sql,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -Ltests/testddl/init_schema.sql -Ltests/testddl/init_schema.sql -u -w -r1.1.2.1 -r1.1.2.2
--- tests/testddl/init_schema.sql
+++ tests/testddl/init_schema.sql
@@ -19,14 +19,12 @@
   CONSTRAINT table3_date_check	CHECK (mod_date <= now())
 ); 
 
-CREATE TABLE table4 (
-  id1 serial,
-  id2 serial,
-  data text,
-  primary key (id1, id2)
+-- Table to perform UTF8 tests (checks multibyte; should be helpful in
+-- preventing problems with Asian character sets too)
+CREATE SEQUENCE utf8_id;
+CREATE TABLE utf8table (
+    id integer not null unique default nextval('utf8_id'),
+    string text,
+    primary key(id)
 );
-
-insert into table4 (data) values ('BA Baracus');
-insert into table4 (data) values ('HM Murdoch');
-insert into table4 (data) values ('Face');
-insert into table4 (data) values ('Hannibal');
\ No newline at end of file
+INSERT INTO utf8table (string) VALUES ('1b\303\241r') ;


More information about the Slony1-commit mailing list