Comment 2 for bug 1546731

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/281517
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=77a9c1c0d49faf9f799d78437f5f1c4863629af2
Submitter: Jenkins
Branch: master

commit 77a9c1c0d49faf9f799d78437f5f1c4863629af2
Author: Cedric Brandily <email address hidden>
Date: Wed Feb 17 21:25:46 2016 +0100

    Fix GROUP BY usage for PostgreSQL in migrations

    Currently get_duplicate_l3_ha_port_bindings[1] is not postgres-compliant
    because it's GROUP BY usage is not postgres-compliant: everything in the
    SELECT list must be aggregated or in GROUP BY.

    This change updates get_duplicate_l3_ha_port_bindings to respect
    previous PostgreSQL rule.

    [1] neutron.db.migration.alembic_migrations.versions.mitaka.expand\
         .1df244e556f5_add_unique_ha_router_agent_port_bindings

    Change-Id: Ie99dd31d695ab89814a86e50d45ababe53bd56fd
    Closes-Bug: #1546731