Module fails to install on postgres

Yorirou - October 23, 2008 - 23:38
Project:Last.fm Simple Stats
Version:6.x-1.0
Component:Code
Category:bug report
Priority:critical
Assigned:mikereem
Status:closed
Description

Hi!

I faced a very ugly error message, while I was trying to install the module.

The problem is that there is a column, which called "user". Somewhy it is not going to be escaped by the schema api, and the postgres says that it is a syntax error.

#1

mikereem - December 2, 2008 - 19:50
Assigned to:Anonymous» mikereem

Hello!

Thanks for the issue. I think I know the problem and I will try to fix it in the next days. If you can please send me more detailed information about what Drupal and postgres version you use.

#2

mikereem - December 3, 2008 - 21:50
Status:active» needs review

I checked the module with PostgreSql and it wasn't working. The 'user' table caused the problem, because user is a reserved PostgreSql word. I changed it everywhere to 'usr'. I tested it and worked for me after this. Please apply this patch and inform me about how it worked.

AttachmentSize
lastfmsimple.postgres.patch.txt 3.11 KB

#3

mikereem - December 27, 2008 - 08:47
Status:needs review» fixed

Version 2.0 contains the patch and works well.

#4

System Message - January 10, 2009 - 08:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.