Skip to content
Snippets Groups Projects
Commit 31132a95 authored by catch's avatar catch
Browse files

Issue #3325295 by daffie, Arantxio: Update minumum version for PostgreSQL in code

parent adfa35d4
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ public function __toString() {
$table_information = $this->connection->schema()->queryTableInformation($this->table);
if (isset($table_information->serial_fields[0])) {
// Use RETURNING syntax to get the last insert ID in the same INSERT
// query, see https://www.postgresql.org/docs/10/dml-returning.html.
// query, see https://www.postgresql.org/docs/12/dml-returning.html.
$query .= ' RETURNING ' . $table_information->serial_fields[0];
}
}
......
......@@ -16,9 +16,9 @@ class Tasks extends InstallTasks {
*
* The contrib extension pg_trgm is supposed to be installed.
*
* @see https://www.postgresql.org/docs/10/pgtrgm.html
* @see https://www.postgresql.org/docs/12/pgtrgm.html
*/
const PGSQL_MINIMUM_VERSION = '10';
const PGSQL_MINIMUM_VERSION = '12';
/**
* {@inheritdoc}
......
......@@ -706,7 +706,7 @@ public function fieldExists($table, $column) {
* {@inheritdoc}
*/
public function indexExists($table, $name) {
// Details https://www.postgresql.org/docs/10/view-pg-indexes.html
// Details https://www.postgresql.org/docs/12/view-pg-indexes.html
$index_name = $this->ensureIdentifiersLength($table, $name, 'idx');
// Remove leading and trailing quotes because the index name is in a WHERE
// clause and not used as an identifier.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment