diff options
| author | Bruce Momjian <bruce@momjian.us> | 2006-05-21 19:56:41 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2006-05-21 19:56:41 +0000 |
| commit | 583a472f7b02b0d2b99462addff060eb551465cf (patch) | |
| tree | 9440b0310a25ef66b865957c861c6eac8e246fee /src/interfaces/ecpg | |
| parent | 506747337bc94a0f063cf36500e6cf5bc204c5be (diff) | |
Change \' to '', for SQL standards compliance. Backpatch to 7.3, 7.4,
and 8.0. Later releases already patched.
Diffstat (limited to 'src/interfaces/ecpg')
| -rw-r--r-- | src/interfaces/ecpg/test/test1.pgc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/test1.pgc b/src/interfaces/ecpg/test/test1.pgc index 78771d944d5..61409419809 100644 --- a/src/interfaces/ecpg/test/test1.pgc +++ b/src/interfaces/ecpg/test/test1.pgc @@ -83,7 +83,7 @@ exec sql end declare section; exec sql execute immediate :command; printf("New tuple got OID = %ld\n", sqlca.sqlerrd[1]); - sprintf(command, "insert into \"Test\" (name, amount, letter) values ('db: \\\'mm\\\'', 2, 't')"); + sprintf(command, "insert into \"Test\" (name, amount, letter) values ('db: ''mm''', 2, 't')"); exec sql execute immediate :command; strcpy(msg, "execute insert 2"); |
