Fix documentation

Поправил документацию.
This commit is contained in:
Dmitriy 2021-07-25 23:14:37 +03:00
parent 935f838aeb
commit ca99d8aa02
2 changed files with 12 additions and 14 deletions

View File

@ -33,13 +33,13 @@ SELECT * FROM test_database.table1;
## Requirements {#requirements} ## Requirements {#requirements}
- Setting `wal_level` to `logical` and `max_replication_slots` to at least `2` in the PostgreSQL config file. 1. Setting [wal_level](https://www.postgresql.org/docs/current/runtime-config-wal.html) to `logical` and `max_replication_slots` to at least `2` in the PostgreSQL config file.
- Each replicated table must have one of the following **replica identity**: 2. Each replicated table must have one of the following **replica identity**:
1. **default** (primary key) - primary key (by default)
2. **index** - index
``` bash ``` bash
postgres# CREATE TABLE postgres_table (a Integer NOT NULL, b Integer, c Integer NOT NULL, d Integer, e Integer NOT NULL); postgres# CREATE TABLE postgres_table (a Integer NOT NULL, b Integer, c Integer NOT NULL, d Integer, e Integer NOT NULL);
@ -62,6 +62,5 @@ FROM pg_class
WHERE oid = 'postgres_table'::regclass; WHERE oid = 'postgres_table'::regclass;
``` ```
## Warning {#warning} !!! warning "Warning"
**TOAST** values conversion is not supported. Default value for the data type will be used.
1. **TOAST** values conversion is not supported. Default value for the data type will be used.

View File

@ -33,13 +33,13 @@ SELECT * FROM test_database.table1;
## Требования {#requirements} ## Требования {#requirements}
- Настройка `wal_level` должна иметь значение `logical`, настройка `max_replication_slots` должна быть равна по меньшей мере `2` в конфигурационном файле в PostgreSQL. 1. Настройка [wal_level](https://postgrespro.ru/docs/postgrespro/10/runtime-config-wal) должна иметь значение `logical`, параметр `max_replication_slots` должен быть равен по меньшей мере `2` в конфигурационном файле в PostgreSQL.
- Каждая реплицируемая таблица должна иметь один из следующих **идентификаторов реплики**: 2. Каждая реплицируемая таблица должна иметь один из следующих **идентификаторов реплики**:
1. **по умолчанию** (первичный ключ) - первичный ключ (по умолчанию)
2. **индекс** - индекс
``` bash ``` bash
postgres# CREATE TABLE postgres_table (a Integer NOT NULL, b Integer, c Integer NOT NULL, d Integer, e Integer NOT NULL); postgres# CREATE TABLE postgres_table (a Integer NOT NULL, b Integer, c Integer NOT NULL, d Integer, e Integer NOT NULL);
@ -62,6 +62,5 @@ FROM pg_class
WHERE oid = 'postgres_table'::regclass; WHERE oid = 'postgres_table'::regclass;
``` ```
## Предупреждение {#warning} !!! warning "Предупреждение"
Преобразование **TOAST**-значений не поддерживается. Для типа данных будет использоваться значение по умолчанию.
1. Преобразование **TOAST**-значений не поддерживается. Для типа данных будет использоваться значение по умолчанию.