Re: pdo_pgsql

From: Date: Wed, 23 Mar 2005 04:04:57 +0000
Subject: Re: pdo_pgsql
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-15554@lists.php.net to get a copy of this message
> 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? Yes. > 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. Probably, but again, I'm not too worried about this right now. It's impossible to cover everything 100%; I think a reasonable way out for people that have to work with such an atrocity is to set an attribute to tell PDO not to bother parsing the query. --Wez.

« previous php.internals (#15554) next »