Skip to content

Conversation

@juliusknorr
Copy link
Member

I'm not sure if the previous one ever worked, however querying SELECT version FROM v$instance doesn't on my test setup.

The additional catch block makes sure that we at least show something in case the query fails somewhere and not end up with an exception being thrown.

image

@juliusknorr
Copy link
Member Author

/backport to stable20

Copy link
Collaborator

@kesselb kesselb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember that we've had an instance with Oracle where the previous version didn't work and it was some kind of permission problem. Can't tell what's the better approach. 👍?

@kesselb
Copy link
Collaborator

kesselb commented Nov 21, 2020

Please don't forget to fix the code style ;)

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants