3 回答
TA贡献1786条经验 获得超13个赞
'
''
'user's log' -- incorrect syntax (unbalanced quote) 'user''s log'
standard_conforming_strings = off
E
\
:
E'user\'s log'
'escape '' with '''''$$escape ' with ''$$
$token$escape ' with ''$token$
$token2$Inner string: $token1$escape ' with ''$token1$ is nested$token2$
$
TA贡献1851条经验 获得超4个赞
PreparedStatement
quote_literal
quote_ident
PL/PgSQL
EXECUTE
quote_literal
EXECUTE ... USING
');DROP SCHEMA public;--
insert into test values (1,'');DROP SCHEMA public;--');
insert into test values (1,'');DROP SCHEMA public;--');
添加回答
举报