in reply to Re^2: RFC: Placeholder creation for SQL statements
in thread RFC: Placeholder creation for SQL statements
for ?-containing operators, of course.
But I can't find a way via DBI to let a postgres server complain about a questionmark in comments. (tried server versions 14, 15, 16). This kinda makes sense because '--'-style comments used to be removed, although '/* */'-style comments were kept. (btw, this will be changed (to both included) in next Pg version, 15)
(It would be another good reason to use $dbh->{pg_placeholder_dollaronly} = 1;. To me the operator-with-questionmark case is reason enough to use it)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: RFC: Placeholder creation for SQL statements
by kikuchiyo (Hermit) on Aug 29, 2022 at 14:34 UTC |