Re: Be more clear what names can be used for tables with "CREATE TABLE"?
| От | Jürgen Purtz |
|---|---|
| Тема | Re: Be more clear what names can be used for tables with "CREATE TABLE"? |
| Дата | |
| Msg-id | 998c5708-95f9-d58f-4480-5890b56138f7@purtz.de обсуждение исходный текст |
| Ответ на | Be more clear what names can be used for tables with "CREATE TABLE"? ("Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com>) |
| Ответы |
Re: Be more clear what names can be used for tables with "CREATE TABLE"?
|
| Список | pgsql-docs |
a) Don't forget: constraint, function, procedure, trigger.
b) The hint applies to each of such objects: CREATE [TABLE|VIEW|FUNCTION|...]. To avoid such redundancy we could extend and clarify the definition of 'SQL object / local object / global object' within the glossary and refer to it.
c) In general we have 3 levels (namespaces) where object names are unique across the same or different types.
- cluster-level: database name, tablespace, replication origin, subscription for logical replication, role, ...?
- database-level: schema, extension, collation, data type cast, ...?
- schema-level: table, index, view, materialized view, foreign table, sequence, constraint, function, procedure, trigger, operator, ...?
--
Jürgen Purtz
В списке pgsql-docs по дате отправления: