With postgresql I got sql errors. I made these modifications to fix them.

CommentFileSizeAuthor
#1 patch.txt1.36 KBByg

Comments

Byg’s picture

StatusFileSize
new1.36 KB
davidwhthomas’s picture

Status: Active » Reviewed & tested by the community

Thanks for this patch, I had the same errors on pgsql due to the use of non-standard SQL in the webformblock module ( e.g double quoting field values ), an example error msg is:

warning: pg_query() [function.pg-query]: Query failed: ERROR: column "webform" does not exist LINE 1: ...EFT JOIN node n ON wfb.nid = n.nid WHERE n.type = "webform" ... ^ in /.../includes/database.pgsql.inc on line 139.
user warning: query: SELECT n.title, n.nid FROM webform_block wfb LEFT JOIN node n ON wfb.nid = n.nid WHERE n.type = "webform" AND n.status = 1 in /.../sites/all/modules/webformblock/webformblock.module on line 111.

I was in the process of making a patch myself when I found this one! - this patch fixes those issues.

DT

psynaptic’s picture

Status: Reviewed & tested by the community » Fixed

This has been fixed now.

psynaptic’s picture

Could you guys have a look at this please? PostgreSQL advice needed...

http://drupal.org/node/584564#comment-2634824

Status: Fixed » Closed (fixed)

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