# PostgreSQL

- [PostgreSQL - Create a new primary key auto-increment column](https://dev-notes.vinguyen.blog/notes/deployment-and-operation/database/postgresql/postgresql-create-a-new-primary-key-auto-increment-column.md)
- [Generate uuid for all records in a table PostgreSQL](https://dev-notes.vinguyen.blog/notes/deployment-and-operation/database/postgresql/generate-uuid-for-all-records-in-a-table-postgresql.md)
- [Backup & Import all database PostgreSQL Inside Docker Container](https://dev-notes.vinguyen.blog/notes/deployment-and-operation/database/postgresql/backup-and-import-all-database-postgresql-inside-docker-container.md): Backup/dump & restore/import PostgreSQL Database running inside a container
- [Backup & Import single database PostgreSQL Inside Docker Container](https://dev-notes.vinguyen.blog/notes/deployment-and-operation/database/postgresql/backup-and-import-single-database-postgresql-inside-docker-container.md): Backup/dump & restore/import PostgreSQL Database running inside a container
- [PostgreSQL - Create user & grant permission on a database](https://dev-notes.vinguyen.blog/notes/deployment-and-operation/database/postgresql/postgresql-create-user-and-grant-permission-on-a-database.md): Create user & grant permission on a PostgreSQL database
- [PostgeSQL - Backup database via remote ssh server](https://dev-notes.vinguyen.blog/notes/deployment-and-operation/database/postgresql/postgesql-backup-database-via-remote-ssh-server.md): Backup a database from a remote server or via a server that have access permssion to local machine
- [Clean up pg walfile](https://dev-notes.vinguyen.blog/notes/deployment-and-operation/database/postgresql/clean-up-pg-walfile.md)


---

# 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://dev-notes.vinguyen.blog/notes/deployment-and-operation/database/postgresql.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.
