Query to submit the file to the database uses double quotes around string data fields. To correct this for compatability with PostgreSQL all that needs ot be done is to change:
db_query('INSERT into {files} (fid, nid, filename, filepath, filemime, filesize)
VALUES (%d, %d, "%s","%s","%s",%d)'
To:
db_query("INSERT into {files} (fid, nid, filename, filepath, filemime, filesize)
VALUES (%d, %d, '%s','%s','%s',%d)"
Cheers,
Rob.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | imagefield_83864.patch | 979 bytes | drewish |
Comments
Comment #1
drewish commentedComment #2
drewish commentedsee: http://drupal.org/node/80083