diff options
author | Peter Eisentraut | 2011-07-08 04:37:04 +0000 |
---|---|---|
committer | Peter Eisentraut | 2011-07-08 04:37:04 +0000 |
commit | f05c65090a964b30135236a90fc85986e0ca56a6 (patch) | |
tree | 3be3e586ca10fdf1b63185f79725632d761726a5 /src/test | |
parent | c59b8ba6cd48e0fc0c1be8d86d4a19e7bf37d7e0 (diff) |
Message style improvements
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/regress/expected/text.out | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/regress/expected/text.out b/src/test/regress/expected/text.out index f5cb5e2509a..e45714f77ec 100644 --- a/src/test/regress/expected/text.out +++ b/src/test/regress/expected/text.out @@ -171,11 +171,11 @@ select format('Hello %%%%'); -- should fail select format('Hello %s %s', 'World'); -ERROR: too few arguments for format conversion +ERROR: too few arguments for format select format('Hello %s'); -ERROR: too few arguments for format conversion +ERROR: too few arguments for format select format('Hello %x', 20); -ERROR: unrecognized conversion specifier: x +ERROR: unrecognized conversion specifier "x" -- check literal and sql identifiers select format('INSERT INTO %I VALUES(%L,%L)', 'mytab', 10, 'Hello'); format @@ -219,15 +219,15 @@ select format('%1$s %12$s', 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12); -- should fail select format('%1$s %4$s', 1, 2, 3); -ERROR: too few arguments for format conversion +ERROR: too few arguments for format select format('%1$s %13$s', 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12); -ERROR: too few arguments for format conversion +ERROR: too few arguments for format select format('%1s', 1); ERROR: unterminated conversion specifier select format('%1$', 1); ERROR: unterminated conversion specifier select format('%1$1', 1); -ERROR: unrecognized conversion specifier: 1 +ERROR: unrecognized conversion specifier "1" --checkk mix of positional and ordered placeholders select format('Hello %s %1$s %s', 'World', 'Hello again'); format |