^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
/*
- * string functions
+ * various string functions
*/
select concat('one');
concat
5 | ahoj | ahoj
(11 rows)
+select quote_literal('');
+ quote_literal
+---------------
+ ''
+(1 row)
+
+select quote_literal('abc''');
+ quote_literal
+---------------
+ 'abc'''
+(1 row)
+
+select quote_literal(e'\\');
+ quote_literal
+---------------
+ E'\\'
+(1 row)
+
+/*
+ * format
+ */
select format(NULL);
format
--------
select 3 || 4.0;
/*
- * string functions
+ * various string functions
*/
select concat('one');
select concat(1,2,3,'hello',true, false, to_date('20100309','YYYYMMDD'));
select concat_ws(NULL,10,20,null,30) is null;
select reverse('abcde');
select i, left('ahoj', i), right('ahoj', i) from generate_series(-5, 5) t(i) order by i;
+select quote_literal('');
+select quote_literal('abc''');
+select quote_literal(e'\\');
+/*
+ * format
+ */
select format(NULL);
select format('Hello');
select format('Hello %s', 'World');