PostgreSQL installation fails
easyfit - April 19, 2007 - 12:27
| Project: | Copyright |
| Version: | 5.x-1.6 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
The pgsql queries in the install file doesn't work for me. Maybe it's because I might be running a newer version of PostgreSQL than the guy who created those queries did (I'm running 8.1.4). Anyway, here's a patch with some new queries. Whether you want to use these instead or stick with the existing ones (in case they still work for other people) is up to you.
| Attachment | Size |
|---|---|
| copyright.install.patch | 2.45 KB |

#1
Correction, I found another error. The module tries to set a pgsql boolean value to 1 in the copyrights_node table, which pgsql doesn't like, so here's a new version of the patch with the booleans set to smallints instead.
#2
Thanks for the patch. It didn't apply cleanly against 1.6, so I applied it manually, and I have attached the updated version. Hopefully it will get incorporated into the sources soon.
To apply, from the modules/copyright directory, download the attachment to that directory, then patch -p0 < copyright.install.patch.