Re: [PDO] 2 phase commit
| From: | Saki Takamachi | Date: | Thu, 30 Nov 2023 14:03:05 +0000 |
| Subject: | Re: [PDO] 2 phase commit | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-121877@lists.php.net to get a copy of this message | ||
Hi Jeff,
> Would the implementation use the underlying RDBMS two-phase commit? Or would the proposal be to
> try to build something at the PDO layer to mimic two-phase commits? The former seems good, the
> latter, not so much.
When implementing this, if each DB driver's API has a two-phase commit function, I would like
to use it. I don't mean "emulate" it with PDO.
I haven't checked all the DB APIs because I'm still thinking about whether to propose it,
but I've confirmed that at least Firebird's API has that functionality.
Regards.
Saki