Created
September 17, 2021 19:43
-
-
Save isaaclw/21bc71b1866aa48c35697e28bf76073b to your computer and use it in GitHub Desktop.
Postgresql database age #postgres #age #database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT (pg_stat_file('base/'||oid ||'/PG_VERSION')).modification, datname FROM pg_database; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment