select column_name, data_type, character_maximum_length
from INFORMATION_SCHEMA.COLUMNS where table_name = '<name of table>';
Last active
April 3, 2017 15:05
-
-
Save cristopher-rodrigues/5917ca7bc0304ad0265ac4c22b43995d to your computer and use it in GitHub Desktop.
POSTGRES DESCRIBE TABLE
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment