Otherwise known as the much simpler alternative to joomla-framework/database#112
Our PostgreSQL support uses the native ext/pgsql
PHP extension versus the PDO library support. The native extension forces us to add extra complexity to our API (i.e. for prepared statement support it mandates an extra parsing middleware). In the context of Joomla, PostgreSQL support is an extreme niche use case, with less than 0.1% of sites reporting stats in the last 90 days reporting using PostgreSQL as their driver, so devoting resources to this niche use case doesn't make much sense.
We can get consistent prepared statement support by switching the PostgreSQL support in the CMS to require PDO only and drop the native extension driver from our API. The PDO variant of the driver already exists in the Framework (and inherently 4.0). My proposal:
ext/pgsql
driver supportext/pgsql
driver supportLabels |
Added:
?
?
|
+1
Absolutely makes sense for me.
If there is a decision on that point lets please official announce that (maybe with an update of all the other things in 4.0) so we can extend the Joomla 4.0 checks and point to an official resource for that question: https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_admin/postinstall/joomla40checks.php
Absolutely not, we're just going to blindly make this change with zero user communication
+1 let's do it
Status | New | ⇒ | Discussion |
Category | ⇒ | Postgresql SQL |
+1 makes complete sense
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-05-13 21:48:39 |
Closed_By | ⇒ | mbabker |
Seems sensible to me - pdo is the way to go and for pgsql its an easy decision