mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
Doc
This commit is contained in:
parent
01075677cf
commit
6413d7bac6
@ -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.
|
||||||
|
|
||||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user