# 37.46. schemata

The view `schemata` contains all schemas in the current database that the current user has access to (by way of being the owner or having some privilege).

#### **Table 37.44. `schemata` Columns**

| <p>Column Type</p><p>Description</p>                                                                                                                    |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><code>catalog\_name</code> <code>sql\_identifier</code></p><p>Name of the database that the schema is contained in (always the current database)</p> |
| <p><code>schema\_name</code> <code>sql\_identifier</code></p><p>Name of the schema</p>                                                                  |
| <p><code>schema\_owner</code> <code>sql\_identifier</code></p><p>Name of the owner of the schema</p>                                                    |
| <p><code>default\_character\_set\_catalog</code> <code>sql\_identifier</code></p><p>Applies to a feature not available in PostgreSQL</p>                |
| <p><code>default\_character\_set\_schema</code> <code>sql\_identifier</code></p><p>Applies to a feature not available in PostgreSQL</p>                 |
| <p><code>default\_character\_set\_name</code> <code>sql\_identifier</code></p><p>Applies to a feature not available in PostgreSQL</p>                   |
| <p><code>sql\_path</code> <code>character\_data</code></p><p>Applies to a feature not available in PostgreSQL</p>                                       |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.postgresql.tw/16/client-interfaces/the-information-schema/schemata.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
