Hey there. Being relatively new to the whole development bit, I figured I'd write my own "Classifieds" module. After a day of mucking around, I decided digging into yours was a much better idea. My first goal was making sure Postgres was supported, so these patches should do the trick. It wasn't too difficult, I just changed the install script to accommodate Postgres, and tidied up some of the SQL in the module itself.

(I altered a couple of the queries to use db_query_range() instead of LIMIT. Also, Postgres apparently doesn't like double quotes in its queries.)

The patches are against the currently released version 5.x-1.5-8. First up, ed_classifieds.install...

Comments

lbh’s picture

StatusFileSize
new5.91 KB

And the module patch...

milesgillham’s picture

Status: Needs review » Closed (duplicate)

I'm going in favour of #218281: Postgres Support and marking this as a duplicate. I've referred to D5 core modules for further hints on Postgres syntax.

Cheers,

Miles