Closed mjpieters closed 4 years ago
The updates/20200518-pg12-after-upgrade.sql
script probably needs some custom re-writing.
I had to run the extensions alterations by hand as a superuser, and alter the role name in two other statements.
Thanks for your effort!
The
updates/20200518-pg12-after-upgrade.sql
script probably needs some custom re-writing.I had to run the extensions alterations by hand as a superuser, and alter the role name in two other statements.
Could you please elaborate on this?
I had to run the extensions alterations by hand as a superuser, and alter the role name in two other statements.
The before- and after-upgrade scripts appear to have two purposes:
unaccent
extensioncube
extension, for which a new bridge function in the musicbrainz schema is created).The commands altering or creating extensions need superuser access, so can't be run directly with mbslave
. In addition, there are two lines that assign ownership for two functions, and these hardcode the owner role. In our setup we use a different role name so I had to alter those statements accordingly.
Hey @lalinsky , any reason for delaying this pull request? I'm thinking of using this branch before my upgrade :)
Thanks @lalinsky
This brings mbdata up to par with MB Server again.