@@ -207,9 +207,9 @@ select format('Hello %%%%');
207207
208208-- should fail
209209select format('Hello %s %s', 'World');
210- ERROR: too few arguments for format
210+ ERROR: too few arguments for format()
211211select format('Hello %s');
212- ERROR: too few arguments for format
212+ ERROR: too few arguments for format()
213213select format('Hello %x', 20);
214214ERROR: unrecognized format() type specifier "x"
215215HINT: For a single "%" use "%%".
@@ -256,9 +256,9 @@ select format('%1$s %12$s', 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12);
256256
257257-- should fail
258258select format('%1$s %4$s', 1, 2, 3);
259- ERROR: too few arguments for format
259+ ERROR: too few arguments for format()
260260select format('%1$s %13$s', 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12);
261- ERROR: too few arguments for format
261+ ERROR: too few arguments for format()
262262select format('%0$s', 'Hello');
263263ERROR: format specifies argument 0, but arguments are numbered from 1
264264select format('%*0$s', 'Hello');
0 commit comments