Created
June 17, 2021 13:06
-
-
Save pixelead0/70130fbfaac7e28a75af0c61d4c63a06 to your computer and use it in GitHub Desktop.
postgres - Listar todas las bases de datos existentes y sus fechas de creación
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 order by 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment