I have more experience with prepared statements and I know they are really good against SQL injection attacks.
I was wondering if the format/USING
and quote_literal/quote_nullable
of pl/pgsql, are equally efficient, given the fact that prepared statements have some vulnerabilities too (check here and here).
So, is pl/pgsql safety in the same level like prepared statements? Should I consider my self safe and covered with format/USING
/ quote_literal/quote_nullable
or I have to do more, to be more safe?
quote_literall
,since : (a) the L of format is equivalent toquote_nullable
(here) and (b)quote_nullable
works the same asquote_literal
(here) – codebot