Mon Dec 12 21:41:26 PST 2005
- Previous message: [Slony1-commit] By cbbrowne: DDL injections didn't work on platforms not using GNU
- Next message: [Slony1-commit] By cbbrowne: Fix to DDL/UTF8 tests; had copied an incorrect script over
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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') ;
- Previous message: [Slony1-commit] By cbbrowne: DDL injections didn't work on platforms not using GNU
- Next message: [Slony1-commit] By cbbrowne: Fix to DDL/UTF8 tests; had copied an incorrect script over
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list