Hello,
i can't install Drupal8.3.7 with

WAMP 3.0.6
PHP Version 5.6.25
Apache 2.2.23
PostgreSQL 9.2.1.3

Additional uncaught exception thrown while handling exception.

Original

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42602]: Invalid name: 7 ERREUR: syntaxe du nom invalide LINE 6: AND pg_attribute.attrelid = '.www_adm.cache_bootstrap'::regc... ^: SELECT pg_attribute.attname AS column_name, format_type(pg_attribute.atttypid, pg_attribute.atttypmod) AS data_type, pg_get_expr(pg_attrdef.adbin, pg_attribute.attrelid) AS column_default FROM pg_attribute LEFT JOIN pg_attrdef ON pg_attrdef.adrelid = pg_attribute.attrelid AND pg_attrdef.adnum = pg_attribute.attnum WHERE pg_attribute.attnum > 0 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%'); Array ( [:key] => .www_adm.cache_bootstrap ) in Drupal\Core\Extension\ModuleHandler->getHookInfo() (line 296 of C:\Users\Christophe\Documents\WWW\XXXXXXX\core\lib\Drupal\Core\Extension\ModuleHandler.php).

Drupal\Core\Extension\ModuleHandler->getHookInfo() (Line: 565)
Drupal\Core\Extension\ModuleHandler->buildImplementationInfo('entity_type_build') (Line: 530)
Drupal\Core\Extension\ModuleHandler->getImplementationInfo('entity_type_build') (Line: 327)
Drupal\Core\Extension\ModuleHandler->getImplementations('entity_type_build') (Line: 110)
Drupal\Core\Entity\EntityTypeManager->findDefinitions() (Line: 174)
Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 675)
Drupal\Core\Entity\EntityManager->getDefinitions() (Line: 100)
Drupal\Core\Config\ConfigManager->getEntityTypeIdByName('core.extension') (Line: 305)
Drupal\Core\Config\ConfigInstaller->createConfiguration('', Array) (Line: 134)
Drupal\Core\Config\ConfigInstaller->installDefaultConfig('core', 'core') (Line: 75)
Drupal\Core\ProxyClass\Config\ConfigInstaller->installDefaultConfig('core', 'core') (Line: 622)
drupal_install_system(Array) (Line: 1039)
install_base_system(Array) (Line: 662)
install_run_task(Array, Array) (Line: 540)
install_run_tasks(Array) (Line: 117)
install_drupal(Object) (Line: 44)
Additional

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42602]: Invalid name: 7 ERREUR: syntaxe du nom invalide LINE 6: AND pg_attribute.attrelid = '.www_adm.cache_bootstrap'::regc... ^: SELECT pg_attribute.attname AS column_name, format_type(pg_attribute.atttypid, pg_attribute.atttypmod) AS data_type, pg_get_expr(pg_attrdef.adbin, pg_attribute.attrelid) AS column_default FROM pg_attribute LEFT JOIN pg_attrdef ON pg_attrdef.adrelid = pg_attribute.attrelid AND pg_attrdef.adnum = pg_attribute.attnum WHERE pg_attribute.attnum > 0 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%'); Array ( [:key] => .www_adm.cache_bootstrap ) in system_list() (line 44 of C:\Users\Christophe\Documents\WWW\XXXXXXXXXXXXX\core\includes\module.inc).

system_list('theme') (Line: 453)
Drupal\Core\Extension\ThemeHandler->systemThemeList() (Line: 182)
Drupal\Core\Extension\ThemeHandler->listInfo() (Line: 65)
_drupal_maintenance_theme() (Line: 724)
drupal_maintenance_theme() (Line: 967)
install_display_output(Array, Array, Array) (Line: 264)
_drupal_log_error(Array, 1) (Line: 584)
_drupal_exception_handler(Object)

<strong>PostgreSQL 9.2.1.3</strong>
PostgreSQL Support	enabled
PostgreSQL(libpq) Version	9.4.5
PostgreSQL(libpq)	9.4.5 (win32)
Multibyte character support	enabled
SSL support	enabled
Active Persistent Links	0
Active Links	0
Directive	Local Value	Master Value
pgsql.allow_persistent	On	On
pgsql.auto_reset_persistent	Off	Off
pgsql.ignore_notice	Off	Off
pgsql.log_notice	Off	Off
pgsql.max_links	Unlimited	Unlimited
pgsql.max_persistent	Unlimited	Unlimited

There is no problem with Drupal 7.
Please, what can i do to solve this?

thanks

Comments

saturnino’s picture

I found the problem with the dot in the prefix so i had to remove the dot in the $key value

file \core\lib\Drupal\Core\Database\Driver\pgsql\Schema.php

line 127

$key = str_replace('.', '', $key);
Renrhaf’s picture

Linked to a Drupal Core issue, see https://www.drupal.org/project/drupal/issues/1060476