Re: [RFC] [Under Discussion] PDO driver specific sub-classes
| From: | Dan Ackroyd | Date: | Fri, 24 Jun 2022 15:25:10 +0000 |
| Subject: | Re: [RFC] [Under Discussion] PDO driver specific sub-classes | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-118086@lists.php.net to get a copy of this message | ||
On Tue, 21 Jun 2022 at 10:41, Rowan Tommins <rowan.collins@gmail.com> wrote:
>
> The implementation MUST be written by
> someone with intimate knowledge of the DBMS in question, or it cannot be
> trusted.
Well, that rules me out of doing it.
> So if we only have a Postgres implementation right now, we should either
> implement quoteIdentifier only on PDOPostgres
I'll expose it as a method on the PDOPostgres class. Having a quote
identifier function on the PDO class itself that does the appropriate
thing for all of the databases will be for another RFC, so that is
also added to future scope.
cheers
Dan
Ack