Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PBS upgrade is failing due to the non availability of hstore function #1213

Merged
merged 1 commit into from Jul 26, 2019

Conversation

@suresh-thelkar
Copy link
Contributor

commented Jul 26, 2019

Describe Bug or Feature

Upgrade to 19.x.x is failing due to the unavailability of hstore function/s after the upgrade. As a result not able to start PBS.

Describe Your Change

Cause / Analysis

We are creating hstore extension specifically under schema 'pbs' which is not actually available in search_path and hence queries which use hstore function/s without the qualifier 'pbs' are failing.

Solution description

Creating the hstore extension in public schema which is always available in search_path. Also removed all occurrences of using hstore functions with the qualifier 'pbs'.
Also please note that we do not use any qualifier for hstore function/s when executing queries through our Libdb code.

Link to Design Doc

Attach Test and Valgrind Logs/Output

Have done the following testing to make sure upgrade is working on SLES 15 and CentOS-7.
Upgrade from 14.x to 19.x
Upgrade from 18.x.x to 19.x
14.x_19.x_Centos7_Upgrade.log
18.x_19.x_Centos7_Upgrade.log
18.x_19.x_SLES15_Upgrade.log

@bremanandjk
Copy link
Member

left a comment

Code changes look good to me

@subhasisb subhasisb merged commit c906093 into PBSPro:master Jul 26, 2019

3 checks passed

Travis CI - Pull Request Build Passed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
license/cla Contributor License Agreement is signed.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.