diff options
| author | Bruce Momjian <bruce@momjian.us> | 2005-06-26 03:04:37 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2005-06-26 03:04:37 +0000 |
| commit | bb3cce4ec9cc157a8dfc80b5b1770c2beac0a57e (patch) | |
| tree | 5631b9dda006f8c56f6b1d4f64c72f015adf2468 /src/test/regress/expected/numeric.out | |
| parent | c96375a39b28e54e19fa5c9c2e3dd69c44b7618c (diff) | |
| download | postgresql-bb3cce4ec9cc157a8dfc80b5b1770c2beac0a57e.tar.gz | |
Add E'' syntax so eventually normal strings can treat backslashes
literally.
Add GUC variables:
"escape_string_warning" - warn about backslashes in non-E strings
"escape_string_syntax" - supports E'' syntax?
"standard_compliant_strings" - treats backslashes literally in ''
Update code to use E'' when escapes are used.
Diffstat (limited to 'src/test/regress/expected/numeric.out')
| -rw-r--r-- | src/test/regress/expected/numeric.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/regress/expected/numeric.out b/src/test/regress/expected/numeric.out index 7d075a2a8e..6f88c541e4 100644 --- a/src/test/regress/expected/numeric.out +++ b/src/test/regress/expected/numeric.out @@ -1072,7 +1072,7 @@ SELECT '' AS to_char_19, to_char(val, 'FMS 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 . 9 9 | -2 4 9 2 6 8 0 4 . 0 4 5 0 4 7 4 2 (10 rows) -SELECT '' AS to_char_20, to_char(val, '99999 "text" 9999 "9999" 999 "\\"text between quote marks\\"" 9999') FROM num_data; +SELECT '' AS to_char_20, to_char(val, E'99999 "text" 9999 "9999" 999 "\\"text between quote marks\\"" 9999') FROM num_data; to_char_20 | to_char ------------+----------------------------------------------------------- | text 9999 "text between quote marks" 0 |
