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

How can I detect the installed sqlean version? #47

Closed
iainelder opened this issue Sep 4, 2022 · 5 comments
Closed

How can I detect the installed sqlean version? #47

iainelder opened this issue Sep 4, 2022 · 5 comments

Comments

@iainelder
Copy link

When downloading from GitHub releases I can get the version number from the releases API in the name and tag_name fields.

Unless I explicitly save that info in a text file next to the .so files, I don't see how to detect the version of of sqlean after installation.

Is there another way to decode those files that I've missed?

@nalgeon
Copy link
Owner

nalgeon commented Sep 4, 2022

I don't think so. Why do you need it?

@iainelder
Copy link
Author

It's just to know which version of sqlean I have installed when I come back later to use it for analysis.

Not knowing the installed version isn't a big problem, though, because generally I would like to stay on the latest version. I have a script to automate the installation, so when I need to use sqlean I can just run my script to update it to the latest version.

It's fine for me if you don't want to do anything about this. I can solve it myself as I described.

@nalgeon
Copy link
Owner

nalgeon commented Sep 5, 2022

Well, theoretically I could add a sqlean_version function to each extension. Not sure it would be useful though. Let's revisit this issue when there is more demand.

@iainelder
Copy link
Author

Sure, the function would be a nice feature but probably not worth the effort right now. I'll close the topic now. Thanks for the consideration.

@nalgeon
Copy link
Owner

nalgeon commented Mar 10, 2023

I've added the sqlean_version function in 0.19.3.

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

No branches or pull requests

2 participants