PostgreSQL compatibility.
PMunn - November 19, 2006 - 20:08
| Project: | flatforum |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | PMunn |
| Status: | closed |
Description
I'll be working on a PostgreSQL compatibility patch for this module. It currently has no support for PostgreSQL in the installer and it may have issues in the module itself.

#1
Here's a patch to the install file that adds the PostgreSQL version of the table create command. From what I see in the module file, nothing needs to be tweaked to work with pgsql.
I ran this on my dev copy of my site and found no problems.
#2
Hi,
Thanks for your work! I've reworked the patch a little to make the file more consistent (used heredoc syntax instead of concatenation). I don't have access to PostgreSQL right now, so would you please test this on a dummy installation before I update head and 4.7?
Thanks!
#3
I wasn't able to apply your patch as written, so I copied its contents in by hand, tested the resulting install file out, and then generated a new patch, which is attached. It works for me.
#4
Thanks for going through all this trouble. I've committed the patch to HEAD and DRUPAL-4-7:
http://drupal.org/cvs?commit=46478
http://drupal.org/cvs?commit=46480
Thanks again for your contribution, and I hope you enjoy flatforum :)
#5