Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 303489

PostgreSQL incompatibility in system_update_7078()

$
0
0

Exact error : SQLSTATE[42P07]: Duplicate table: 7 ERROR: relation "date_formats_formats_key" already exists

Seems to be caused by the use of "BINARY" (invalid in Postgre) in :

<?php
db_change_field
('date_formats', 'format', 'format', array(
   
'description'=> 'The date format string.',
   
'type'=> 'varchar',
   
'length'=> 100,
   
'not null'=> TRUE,
   
'binary'=> TRUE,
  ), array(
'unique keys'=> array('formats'=> array('format', 'type'))));
?>

Same issue as : #1768672: PostgreSQL/SQLite issue - BINARY syntax invalid


Viewing all articles
Browse latest Browse all 303489

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>