summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/sql/quote.pgc
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2006-09-08 13:32:29 +0000
committerMichael Meskes <meskes@postgresql.org>2006-09-08 13:32:29 +0000
commit460f46816a589ed6916e86b84a56a6b97eccabb1 (patch)
tree1aaea76bc720d63255dcc91a7eb8b44f533146c2 /src/interfaces/ecpg/test/sql/quote.pgc
parent52a013bea86906bc8296781eb16deee7e281a87e (diff)
downloadpostgresql-460f46816a589ed6916e86b84a56a6b97eccabb1.tar.gz
Replaced complex tests with small ones.
Diffstat (limited to 'src/interfaces/ecpg/test/sql/quote.pgc')
-rw-r--r--src/interfaces/ecpg/test/sql/quote.pgc14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/interfaces/ecpg/test/sql/quote.pgc b/src/interfaces/ecpg/test/sql/quote.pgc
index 244c628edc..1349a18194 100644
--- a/src/interfaces/ecpg/test/sql/quote.pgc
+++ b/src/interfaces/ecpg/test/sql/quote.pgc
@@ -16,26 +16,26 @@ int main(int argc, char* argv[]) {
EXEC SQL WHENEVER SQLWARNING SQLPRINT;
EXEC SQL WHENEVER SQLERROR SQLPRINT;
- EXEC SQL CREATE TABLE My_Table ( Item1 int, Item2 text );
+ EXEC SQL CREATE TABLE "My_Table" ( Item1 int, Item2 text );
EXEC SQL SHOW standard_conforming_strings INTO :var;
printf("Standard conforming strings: %s\n", var);
/* this is a\\b actually */
- EXEC SQL INSERT INTO My_Table VALUES ( 1, 'a\\\\b' );
+ EXEC SQL INSERT INTO "My_Table" VALUES ( 1, 'a\\\\b' );
/* this is a\b */
- EXEC SQL INSERT INTO My_Table VALUES ( 1, E'a\\\\b' );
+ EXEC SQL INSERT INTO "My_Table" VALUES ( 1, E'a\\\\b' );
EXEC SQL SET standard_conforming_strings TO on;
/* this is a\\b actually */
- EXEC SQL INSERT INTO My_Table VALUES ( 1, 'a\\\\b' );
+ EXEC SQL INSERT INTO "My_Table" VALUES ( 1, 'a\\\\b' );
/* this is a\b */
- EXEC SQL INSERT INTO My_Table VALUES ( 1, E'a\\\\b' );
+ EXEC SQL INSERT INTO "My_Table" VALUES ( 1, E'a\\\\b' );
- EXEC SQL SELECT * FROM My_Table;
+ EXEC SQL SELECT * FROM "My_Table";
- EXEC SQL DROP TABLE My_Table;
+ EXEC SQL DROP TABLE "My_Table";
EXEC SQL DISCONNECT ALL;