2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
@@ -51,7 +51,7 @@ public function queryTableInformation($table) {
'blob_fields'=>array(),
'sequences'=>array(),
);
// Don't use {} around information_schema table.
// Don't use {} around information_schema.columns table.
$result=db_query("SELECT column_name, data_type, column_default FROM information_schema.columns WHERE table_schema = :schema AND table_name = :table AND (data_type = 'bytea' OR (numeric_precision IS NOT NULL AND column_default LIKE :default))",array(':schema'=>$schema,':table'=>$table_name,':default'=>'%nextval%'));