Created
September 15, 2013 00:21
-
-
Save jookyboi/6566940 to your computer and use it in GitHub Desktop.
List all roles in postgres. From http://www.opengurukul.com/vlc/mod/page/view.php?id=3121
This file contains hidden or 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
postgres=# SELECT rolname FROM pg_roles; | |
+----------+ | |
| rolname | | |
+----------+ | |
| postgres | | |
| matsya1 | | |
+----------+ | |
(2 rows) | |
postgres=# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment