DB errors in glossary.install on PostgresQL 8.3
gathond - June 29, 2008 - 12:14
| Project: | Glossary |
| Version: | 5.x-2.6 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
PostgresQL 8.3 no longer performs automatic typecasts to (text), which makes updates 5100 and 5101 fail because delta is of type varchar and it is compared with integers.
The attached patch fixes this issue by adding ' ' around the integers and thereby causing them to be compared as text strings.
I don't think this patch should break anything as it should be a more proper way of doing this (not relying on an automatic conversion).
| Attachment | Size |
|---|---|
| glossary.install.patch | 1 KB |

#1
Thanks. I also corrected the status of the drupal_set_message in uninstall.
Committed to 5.x-2.x-dev
#2
Automatically closed -- issue fixed for two weeks with no activity.