← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1840898] Re: INSTR can not supported for postgresql

 

Reviewed:  https://review.opendev.org/677694
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=6e525647f608839890a8a00a8e03a540a1891471
Submitter: Zuul
Branch:    master

commit 6e525647f608839890a8a00a8e03a540a1891471
Author: Abhishek Kekane <akekane@xxxxxxxxxx>
Date:   Wed Aug 21 10:38:14 2019 +0000

    Fix INSTR not supported for postgresql
    
    Migration script 'train_migrate01_backend_to_store.py' doesn't support
    INSTR function for postgresql database. INSTR function does support
    sqlite3 and mysql.
    
    Used 'POSITION' function instead of 'INSTR' function if database is
    postgresql.
    Closes-Bug: #1840898
    
    Change-Id: I62c592f0885927b873ed35a1efe4a0f8407e7dee


** Changed in: glance
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1840898

Title:
  INSTR can not supported for postgresql

Status in Glance:
  Fix Released

Bug description:
  Recently added migration script doesn't support INSTR function. INSTR
  function does support sqlite3 and mysql.

  [1] https://review.opendev.org/#/c/665606/5

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1840898/+subscriptions


References