Tue Dec 13 16:05:15 PST 2005
- Previous message: [Slony1-commit] By cbbrowne: Reorder schema setup, as previously done in HEAD
- Next message: [Slony1-commit] By cbbrowne: Fix up event documentation - STORE_NODE needs to include
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message: ----------- Fix to DDL/UTF8 tests; had copied an incorrect script over Tags: ---- REL_1_1_STABLE Modified Files: -------------- slony1-engine/tests/testddl: init_schema.sql (r1.1.2.2 -> r1.1.2.3) slony1-engine/tests/testutf8: 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.2 retrieving revision 1.1.2.3 diff -Ltests/testddl/init_schema.sql -Ltests/testddl/init_schema.sql -u -w -r1.1.2.2 -r1.1.2.3 --- tests/testddl/init_schema.sql +++ tests/testddl/init_schema.sql @@ -19,12 +19,14 @@ CONSTRAINT table3_date_check CHECK (mod_date <= now()) ); --- 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) +CREATE TABLE table4 ( + id1 serial, + id2 serial, + data text, + primary key (id1, id2) ); -INSERT INTO utf8table (string) VALUES ('1b\303\241r') ; + +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 Index: init_schema.sql =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/tests/testutf8/init_schema.sql,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -Ltests/testutf8/init_schema.sql -Ltests/testutf8/init_schema.sql -u -w -r1.1.2.1 -r1.1.2.2 --- tests/testutf8/init_schema.sql +++ tests/testutf8/init_schema.sql @@ -21,11 +21,10 @@ -- Table to perform UTF8 tests (checks multibyte; should be helpful in -- preventing problems with Asian character sets too) -create table utf8table ( +CREATE SEQUENCE utf8_id; +CREATE TABLE utf8table ( id integer not null unique default nextval('utf8_id'), string text, primary key(id) ); - -create sequence utf8_id; INSERT INTO utf8table (string) VALUES ('1b\303\241r') ;
- Previous message: [Slony1-commit] By cbbrowne: Reorder schema setup, as previously done in HEAD
- Next message: [Slony1-commit] By cbbrowne: Fix up event documentation - STORE_NODE needs to include
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list