Project:Last.fm Simple Stats
Version:6.x-1.0
Component:Code
Category:bug report
Priority:critical
Assigned:mikereem
Status:closed (fixed)

Issue Summary

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.

Comments

#1

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

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

Status:needs review» fixed

Version 2.0 contains the patch and works well.

#4

Status:fixed» closed (fixed)

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

nobody click here