mirror of
https://github.com/postgres/postgres.git
synced 2025-11-01 21:31:19 +03:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user