|
22 | 22 | </indexterm>
|
23 | 23 |
|
24 | 24 | <para>
|
25 |
| - A database is a named collection of <acronym>SQL</acronym> objects |
26 |
| - (<quote>database objects</quote>). Generally, every database |
27 |
| - object (tables, functions, etc.) belongs to one and only one |
28 |
| - database. (However there are a few system catalogs, for example |
29 |
| - <literal>pg_database</literal>, that belong to a whole cluster and |
30 |
| - are accessible from each database within the cluster.) More |
31 |
| - accurately, a database is a collection of schemas and the schemas |
32 |
| - contain the tables, functions, etc. So the full hierarchy is: |
33 |
| - server, database, schema, table (or some other kind of object, |
| 25 | + A small number of objects, like role, database, and tablespace |
| 26 | + names, are defined at the cluster level and stored in the |
| 27 | + <literal>pg_global</literal> tablespace. Inside the cluster are |
| 28 | + multiple databases, which are isolated from each other but can access |
| 29 | + cluster-level objects. Inside each database are multiple schemas, |
| 30 | + which contain objects like tables and functions. So the full hierarchy |
| 31 | + is: cluster, database, schema, table (or some other kind of object, |
34 | 32 | such as a function).
|
35 | 33 | </para>
|
36 | 34 |
|
|
0 commit comments