Under PostgreSQL, double quote is used to denote a column name, thus this query at line 623 in filefield_paths.module would failed:-

db_query('UPDATE {files} SET filename = "%s", filepath = "%s" WHERE fid = %d', $file['filename']['new'], $file['field']['filepath'], $file['field']['fid']);
CommentFileSizeAuthor
filefield_paths.diff519 bytesk4ml

Comments

deciphered’s picture

Status: Active » Fixed

Fixed and committed to DRUPAL-6--1 and DRUPAL-5.

Thanks for that, as you may have noticed I don't tend to do much with PostgreSQL; I have it available for testing, it just doesn't get used as much as it should.

Cheers,
Deciphered.

Status: Fixed » Closed (fixed)

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