Wez Furlong wrote:
The problem with using $ in the query is that you'd need to \ escape
them; remember that PHP uses $ to interpolate its own variables.

IMO, adding $ as another way to name parameters is overkill, as we
already have :named style.

So you are proposing that we rewrite :name and ? params into $n format and use pgsql's native prepare/bind functions to do the binding? Or we just abandon native binding on pgsql?


BTW, isn't the current sql parser broken for mysql backquoting anyway?

eg: SELECT * FROM `my_weird ? table`;

And in case you're wondering, yes that is a perfectly legal mysql table name.

Chris

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to