View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012979 | CDash | (No Category) | public | 2012-02-18 17:55 | 2012-02-19 05:48 | ||||
Reporter | Marco Craveiro | ||||||||
Assigned To | Julien Jomier | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | Apple | OS | Mac OS X | OS Version | 10.8.0 | ||||
Product Version | 1.8 | ||||||||
Target Version | Fixed in Version | 2.0 | |||||||
Summary | 0012979: Compressed data in PostgreSQL 9.x is not retrieved correctly | ||||||||
Description | A change in escaping was done as part of Postgres 9.x series: http://www.postgresql.org/docs/9.1/static/datatype-binary.html [^] The short of it is that the default behaviour of escaping has changed, and pg_escape_bytea/pg_unescape_bytea no longer work as advertised. As far as CDash is concerned, the symptoms are an inability to see binary data such as the project logo etc as well as any other compressed binary data such as outputs of tests. In my case I just got a page without any test output. This page explains how to resolve the issue: http://www.php.net/manual/en/function.pg-unescape-bytea.php [^] Basically just run the following on your postgres database: ALTER USER username SET bytea_output = 'escape'; replacing username with the CDash database username. | ||||||||
Steps To Reproduce | Using any version of postgres from the 9.x series, upload test output to the database; then try to see the output from CDash. | ||||||||
Additional Information | Can we please add the SQL commands to the CDash schema if running on Postgres 9.x: ALTER USER username SET bytea_output = 'escape'; | ||||||||
Tags | PostgreSQL | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0028633) Julien Jomier (manager) 2012-02-19 05:48 |
The following has already been added to CDash 2.0: ALTER DATABASE ".$CDASH_DB_NAME." SET bytea_output TO 'escape'" Feel free to reopen if that doesn't solve the problem. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-02-18 17:55 | Marco Craveiro | New Issue | |
2012-02-18 17:58 | Marco Craveiro | Tag Attached: PostgreSQL | |
2012-02-19 05:48 | Julien Jomier | Assigned To | => Julien Jomier |
2012-02-19 05:48 | Julien Jomier | Status | new => assigned |
2012-02-19 05:48 | Julien Jomier | Note Added: 0028633 | |
2012-02-19 05:48 | Julien Jomier | Status | assigned => resolved |
2012-02-19 05:48 | Julien Jomier | Fixed in Version | => 2.0 |
2012-02-19 05:48 | Julien Jomier | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |