Last active
September 29, 2017 17:29
-
-
Save graphbear/71820fa27d3c10529b5d39b7bb008420 to your computer and use it in GitHub Desktop.
what's in a postgres tablespace
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 | |
c.relname, | |
c.reltype, | |
t.spcname | |
FROM | |
pg_class c | |
JOIN pg_tablespace t ON c.reltablespace = t.oid | |
ORDER BY | |
t.spcname, | |
c.relname; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment