View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009806 | mantisbt | db postgresql | public | 2008-11-13 00:34 | 2014-05-16 15:02 |
| Reporter | kukgini | Assigned To | grangeway | ||
| Priority | normal | Severity | block | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | x86 32bit | OS | linux | OS Version | 2.6.24-21 |
| Product Version | 1.2.0a2 | ||||
| Summary | 0009806: PostgreSQL compatability Problem on create account | ||||
| Description | when i create new account follwoing error occured | ||||
| Tags | patch | ||||
|
Did you do a fresh install of Mantis 1.2.0a2, or upgrade from an earlier version? In my installation of 1.2.0a2 with Postgres, mantis_user_table.enabled is (I arrived at this version through a series of upgrades, last one from 1.1.3) |
|
|
PostgreSQL Version is 8.3 and fresh install. In my case mantis_user_table.enabled is boolean. -- Index: idx_access -- DROP INDEX idx_access; CREATE INDEX idx_access -- Index: idx_enable -- DROP INDEX idx_enable; CREATE INDEX idx_enable -- Index: idx_user_cookie_string -- DROP INDEX idx_user_cookie_string; CREATE UNIQUE INDEX idx_user_cookie_string -- Index: idx_user_username -- DROP INDEX idx_user_username; CREATE UNIQUE INDEX idx_user_username </code> |
|
|
drop the database and reinstall dosen't work. and my admin/scheme.php like this. intersting... grep -n enabled admin/schema.php |
|
|
Very interesting. I have all "L" fields in schema.php before "Release marker: 1.2.0-SVN" (line 367) as smallint, and all after that as boolean. |
|
darken:/home/www/mantis/core# diff user_api.php user_api.php.old
|
|
|
Hi guys, These issues should all be fixedin 1.2rc - note: we've added a check to check.php to check people are running bundled adodb when using postgres as we've made some changes (mainly to the datadict files for schema creationg to support converting data types e.g. casting int->bool) Paul |
|
|
MantisBT currently supports Mysql and has support for other database engines. The support for other databases is known to be problematic. Having implemented the current database layer into Mantis 10 years ago, I'm currently working on replacing the current layer. If you are interested in using Mantis with non-mysql databases - for example, Oracle, PGSQL or MSSQL, and would be willing to help out testing the new database layer, please drop me an email at paul@mantisforge.org In the meantime, I'd advise running Mantis with Mysql Only to avoid issues. Thanks |
|