This commit is contained in:
kssenii 2021-04-11 20:26:59 +00:00
parent 01075677cf
commit 6413d7bac6
2 changed files with 17 additions and 1 deletions

View File

@ -35,7 +35,7 @@ postgres# SELECT CASE relreplident
END AS replica_identity END AS replica_identity
FROM pg_class FROM pg_class
WHERE oid = 'postgres_table'::regclass; WHERE oid = 'postgres_table'::regclass;
``` ```
- Setting `wal_level`to `logical` and `max_replication_slots` to at least `2` in the postgresql config file. - Setting `wal_level`to `logical` and `max_replication_slots` to at least `2` in the postgresql config file.

View File

@ -0,0 +1,16 @@
---
toc_priority: 12
toc_title: MateriaziePostgreSQL
---
# MaterializePostgreSQL {#materialize-postgresql}
## Creating a Table {#creating-a-table}
## Requirements {#requirements}
- A table with engine `MaterializePostgreSQL` must have a primary key - the same as a replica identity index of a postgres table (See [details on replica identity index](../../database-engines/materialize-postgresql.md#requirements)).
- Only database `Atomic` is allowed.
- Setting `wal_level`to `logical` and `max_replication_slots` to at least `2` in the postgresql config file.