Postgres support
lbh - September 22, 2007 - 17:34
| Project: | Classified Ads |
| Version: | 5.x-1.5-8 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Description
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...
| Attachment | Size |
|---|---|
| ed_classified.install_postgres.patch | 2.02 KB |

#1
And the module patch...
#2
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