diff options
| author | Marc G. Fournier <scrappy@hub.org> | 1996-07-09 06:22:35 +0000 |
|---|---|---|
| committer | Marc G. Fournier <scrappy@hub.org> | 1996-07-09 06:22:35 +0000 |
| commit | d31084e9d1118b25fd16580d9d8c2924b5740dff (patch) | |
| tree | 3179e66307d54df9c7b966543550e601eb55e668 /src/test/suite/quote.sql | |
| download | postgresql-d31084e9d1118b25fd16580d9d8c2924b5740dff.tar.gz | |
Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01
Diffstat (limited to 'src/test/suite/quote.sql')
| -rw-r--r-- | src/test/suite/quote.sql | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/suite/quote.sql b/src/test/suite/quote.sql new file mode 100644 index 0000000000..0040bebb9b --- /dev/null +++ b/src/test/suite/quote.sql @@ -0,0 +1,18 @@ +create table quoteTBL (f text); + +insert into quoteTBL values ('hello world'); +insert into quoteTBL values ('hello '' world'); +insert into quoteTBL values ('hello \' world'); +insert into quoteTBL values ('hello \\ world'); +insert into quoteTBL values ('hello \t world'); +insert into quoteTBL values ('hello +world +with +newlines +'); +insert into quoteTBL values ('hello " world'); +insert into quoteTBL values (''); + -- bad escape sequence +insert into quoteTBL values ('hello \y world'); +select * from quoteTBL; +drop table quoteTBL; |
