The img_assist module doesn't support PostgreSQL out of the box. Attached is a suggested img_assist.pgsql script to support it.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | pgsql-selects.diff | 1.32 KB | elonen |
| #1 | img_assist_1.pgsql | 103 bytes | paulgear |
| img_assist_0.pgsql | 0 bytes | paulgear |
Comments
Comment #1
paulgear commentedFor some reason that script didn't upload. Here it is again.
Comment #2
elonen commentedAt least in 4.5, you also have to change "image/%" to 'image/%' since Postgres only accepts single quotes as string values (double quotes are assumed to be table/column names). Another patch attached.
Comment #3
matt westgate commentedAdded the Postgres schema to CVS HEAD. Thanks. The last patch doesn't seem to make sense since it just swaps double quotes with single quotes for a couple of queries. It would make more sense to say 'We need to always use single quotes for Postgres', or something of the like.
Comment #4
elonen commentedYes, that's exactly the case, so I hope you applied the hunk anyway. Postgres regards double quoted words as column/table names.
Comment #5
(not verified) commented