Does not install with PostgreSQL

AlexisWilke - November 24, 2008 - 02:38
Project:Quotes
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:NancyDru
Status:closed
Description

Hi guys,

Cool module, although I will need to use it before to really pronounce myself...

It did not install for me because you have a size in the primary key of the author name.

<?php
   
'unique keys' => array(
     
'name' => array('name(255)')),
    );
?>

PostgreSQL does not support the '(255)'.

Removing it fixes that problem.

Thank you.
Alexis Wilke

AttachmentSize
quotes-6.x-1.x-postgresql-schema.patch324 bytes

#1

NancyDru - November 24, 2008 - 18:01

Hmm, MySql seems to require it (#311482: Installation Warning about key length)...

#2

NancyDru - November 24, 2008 - 18:32
Assigned to:AlexisWilke» NancyDru
Status:needs review» fixed

It appears that there is a proper way to set that and I hadn't seen it in the docs (not that the Drupal docs are ever unclear).

#3

AlexisWilke - November 29, 2008 - 07:42

Interesting. I have to say that MySQL has "problems" handling TEXT fields as expected (my quite personal point of view, of course.)

Thank you.
Alexis Wilke

#4

System Message - December 13, 2008 - 07:52
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.