Commit 2e260b18 authored by Drew Webber's avatar Drew Webber
Browse files

Issue #3283311 by poker10, hubaishan, daffie, andypost, alexpott,...

Issue #3283311 by poker10, hubaishan, daffie, andypost, alexpott, jhmnieuwenhuis, lamigo, xekon, x0r1x, puddyglum, qdelance: D7 backport support for Postgresql 12
parent 92a68e32
Loading
Loading
Loading
Loading
+1 −1
Changes for includes/database/pgsql/schema.inc: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -135,7 +135,7 @@ public function queryTableInformation($table) {
AND NOT pg_attribute.attisdropped
AND pg_attribute.attrelid = :key::regclass
AND (format_type(pg_attribute.atttypid, pg_attribute.atttypmod) = 'bytea'
OR pg_attrdef.adsrc LIKE 'nextval%')
OR pg_get_expr(pg_attrdef.adbin, pg_attribute.attrelid) LIKE 'nextval%')
EOD;
      $result = $this->connection->query($sql, array(
        ':key' => $key,