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...

AttachmentSize
ed_classified.install_postgres.patch2.02 KB

#1

lbh - September 22, 2007 - 17:35

And the module patch...

AttachmentSize
ed_classified.module_postgres.patch 5.91 KB

#2

milesgillham - September 2, 2009 - 04:38
Status:needs review» 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

 
 

Drupal is a registered trademark of Dries Buytaert.