summaryrefslogtreecommitdiff
path: root/src/bin/psql/command.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-11-06 21:41:14 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2010-11-06 21:41:14 -0400
commite43fb604d6db229d70d3101aa53348cc16a5473a (patch)
tree5aaa9c838272896e941c2c390c8e8d10ddda894e /src/bin/psql/command.c
parentd7a2ce4905da7d812407b6354f038aac17e97024 (diff)
Implement an "S" option for psql's \dn command.
\dn without "S" now hides all pg_XXX schemas as well as information_schema. Thus, in a bare database you'll only see "public". ("public" is considered a user schema, not a system schema, mainly because it's droppable.) Per discussion back in late September.
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r--src/bin/psql/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index fe37be66f2a..c1edf44a607 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -417,7 +417,7 @@ exec_command(const char *cmd,
success = do_lo_list();
break;
case 'n':
- success = listSchemas(pattern, show_verbose);
+ success = listSchemas(pattern, show_verbose, show_system);
break;
case 'o':
success = describeOperators(pattern, show_system);