-
Improvement
-
Resolution: Fixed
-
Minor
-
3.1, 3.2
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_32_STABLE
-
PostgreSQL driver requires multiple queries when a connection to the database is made. These can be handled differently to remove the query requirement.
PostgreSQL 9.1 is now the minimum required version, so the escape_format can be forced to the new hex format. This has performance and functionality improvements when using pg_query_params(). Functions that did not support BLOBS before can now.
normalise_value() can now easily escape BLOBS the same as other fields. This allows a more simplified driver.
pg_field_type() on a result does not require a db query as it's stored in the result set. So the type can be compared to bytea rather than getting the OID, having to pass it around and match it.
get_field_sql() did not support BLOB's on PostgreSQL, even though they worked on mysql. With the new formatting they now work.
- has a non-specific relationship to
-
MDL-27685 Select statement causes "Warning" messages on postgres
- Closed
-
MDL-32907 postgres sql like queries resulting in significant number of warning messages in database log files
- Closed
-
MDL-48856 Postgresql driver performance tuning
- Closed
- has been marked as being related by
-
MDL-32368 force pg to always use old bytea encoding
- Closed
- Testing discovered
-
MDL-54966 quiz_get_user_attempts() does not return result in a deterministic order.
- Closed
-
MDL-55124 Support for connection pooler (pgbouncer) in PostgreSQL connection
- Closed
-
MDL-55143 phpunit fails to update after changing schema
- Closed
-
MDL-55144 Provide different connection alternatives with the postgres driver
- Closed