Editing Database Schema
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
* Third-party applications can be put into separate schemas so they do not collide with the names of other objects. | * Third-party applications can be put into separate schemas so they do not collide with the names of other objects. | ||
− | + | == Example == | |
− | + | * [[CREATE SCHEMA]] | |
− | == | ||
− | * | ||
Grant examples on schemas: | Grant examples on schemas: | ||
Line 23: | Line 21: | ||
− | [[GRANT SELECT ON ALL TABLES]] IN [[SCHEMA]] [[public]] TO xxx; | + | [[GRANT SELECT]] ON ALL [[TABLES]] IN [[SCHEMA]] [[public]] TO xxx; |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related == | == Related == | ||
Line 41: | Line 31: | ||
* <code>[[GRANT SELECT]]</code> | * <code>[[GRANT SELECT]]</code> | ||
* [[Index]], [[Table]], [[Schema]], [[Sequence]], [[Views]] | * [[Index]], [[Table]], [[Schema]], [[Sequence]], [[Views]] | ||
− | * <code>[[ | + | * <code>[[search_path]]</code> |
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | * {{ | + | * {{PostgreSQL}} |
[[Category:PostgreSQL]] | [[Category:PostgreSQL]] |
Advertising: