Here's a patch for the installfile which adds support for PostgeSQL. I took the liberty of adding a primary key to the table simply because phpPgAdmin doesn't like it when a table doesn't have a primary key. I also added a very simple hook_uninstall().

CommentFileSizeAuthor
download_count.install.patch912 byteseasyfit

Comments

Chill35’s picture

Assigned: Unassigned » Chill35

You're DA-ma. (Or woman?)

I don't know the first thing about PostgeSQL, I will rely on your good judgment here.

And thanks for the added key.

Chill35’s picture

... and hook_uninstall!

easyfit’s picture

Yeah I'm da-man, da-skinny-white-geeky-man, but still!

You're welcome :)

Chill35’s picture

LOL!

Chill35’s picture

Title: Support for PostgreSQL » Support for PostgreSQL and hook_uninstall
Category: feature » bug
Status: Active » Fixed

hook_uninstall implemented for Drupal 5 version.
PostgreSQL support added for both Drupal 4.7 and 5 version.
Commited.
Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)