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

Create database fails on Azure Postgres Flexi Server #1317

Closed
simonFuturePerfect opened this issue May 13, 2024 · 4 comments
Closed

Create database fails on Azure Postgres Flexi Server #1317

simonFuturePerfect opened this issue May 13, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@simonFuturePerfect
Copy link

Background

When setting up the script line

ALTER FUNCTION jsonb_path_query(jsonb,jsonpath,jsonb,boolean) ROWS 1

Fails because the function's owner is 'azuresu' as this is a PAAS only Microsoft have access to the 'Super User Account'

Is there any other way around this ?

Enhancement

Is it possible to have a SQL script that does not require these elevated privileges ?

Discussion

No response

Further information

No response

@simonFuturePerfect simonFuturePerfect added the enhancement New feature or request label May 13, 2024
@simonFuturePerfect simonFuturePerfect changed the title Create database fails on Auzure Postgres Flexi Server Create database fails on Azure Postgres Flexi Server May 13, 2024
@stefanspiska
Copy link
Contributor

You can remove

ALTER FUNCTION jsonb_path_query(jsonb,jsonpath,jsonb,boolean) ROWS 1

since it is just a minor optimization.

@simonFuturePerfect
Copy link
Author

Thank for that @stefanspiska your swift feedback is very much appreciated.

@vladislavploaia
Copy link
Contributor

Hello @simonFuturePerfect,
Based on Stefan's feedback, is there anything else we can support with or ticket can be closed?

CC: @vidi42

@simonFuturePerfect
Copy link
Author

I would close this ticket. Any other issues I can raise separately.

Thanks for all the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants