Bug 1066459 - [database] plpgsql language is not created although it should
Summary: [database] plpgsql language is not created although it should
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-installer
Version: 3.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.4.0
Assignee: Alon Bar-Lev
QA Contact: Barak Dagan
URL:
Whiteboard: integration
: 1064962 (view as bug list)
Depends On:
Blocks: 1037667 1054226 1057239
TreeView+ depends on / blocked
 
Reported: 2014-02-18 13:16 UTC by Alon Bar-Lev
Modified: 2014-07-13 23:20 UTC (History)
7 users (show)

Fixed In Version: ovirt-3.4.0-rc
Clone Of:
Environment:
Last Closed: 2014-03-31 12:31:33 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 24661 0 None None None Never
oVirt gerrit 24782 0 None None None Never

Description Alon Bar-Lev 2014-02-18 13:16:53 UTC
Conditional within code is incorrect, should compare to 0 and not nothing.

Comment 1 Barak Dagan 2014-02-19 09:31:12 UTC
*** Bug 1064962 has been marked as a duplicate of this bug. ***

Comment 2 Sandro Bonazzola 2014-03-03 14:40:17 UTC
This BZ should be fixed in oVirt 3.4.0 RC

Comment 3 Barak Dagan 2014-03-09 13:13:13 UTC
Verified o av2.1 (codeChange):


        if statement.execute(
            statement="""
                select count(*)
                from pg_language
                where lanname=%(language)s;
            """,
            args=dict(
                language=language,
            ),
            ownConnection=True,
            transaction=False,
        )[0]['count'] == 0:

Comment 4 Sandro Bonazzola 2014-03-31 12:31:33 UTC
this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released


Note You need to log in before you can comment on or make changes to this bug.