Bug 490639

Summary: DBI interface does not work with postgresql on s390x
Product: Red Hat Enterprise Linux 4 Reporter: Petr Šplíchal <psplicha>
Component: perl-DBD-PgAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED WONTFIX QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: low    
Version: 4.7CC: ohudlick, robin.norwood
Target Milestone: rc   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-22 13:12:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
A simple query reproducing the issue none

Description Petr Šplíchal 2009-03-17 13:10:56 UTC
Created attachment 335520 [details]
A simple query reproducing the issue

Description of problem:
Perl's database interface behaves very strangely on s390x
architecture. After inserting a row into the DB, the SELECT
statement fetches undefs and empty strings. See the example
below.

Version-Release number of selected component (if applicable):
perl-DBI-1.40-9.s390x
perl-DBD-Pg-1.31-6.s390x

How reproducible:
Always

Steps to Reproduce:
1. create table
2. insert row
3. select row
See the attached reproducer for details.
  
Actual results:
$VAR1 = [
          [
            '',
            undef
          ]
        ];

Expected results:
$VAR1 = [
          [
            '0',
            'Pg DBI works OK'
          ]
        ];

Additional info:
The same test works OK on all other architectures.

Comment 2 Marcela Mašláňová 2010-02-22 13:12:52 UTC
The last planned update of RHEL-4 will be focused on performance and security bugs only. This should be fixed in next release.