Skip to content

Commit 6f83fe1

Browse files
committed
fixes for README.md & README.rus.md
1 parent d3076c4 commit 6f83fe1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Done! Now it's time to setup your partitioning schemes.
6464
create_hash_partitions(relation REGCLASS,
6565
attribute TEXT,
6666
partitions_count INTEGER,
67-
partition_name TEXT DEFAULT NULL)
67+
partition_name TEXT DEFAULT NULL)
6868
```
6969
Performs HASH partitioning for `relation` by integer key `attribute`. The `partitions_count` parameter specifies the number of partitions to create; it cannot be changed afterwards. If `partition_data` is `true` then all the data will be automatically copied from the parent table to partitions. Note that data migration may took a while to finish and the table will be locked until transaction commits. See `partition_table_concurrently()` for a lock-free way to migrate data.
7070

@@ -350,7 +350,7 @@ SELECT tableoid::regclass AS partition, * FROM partitioned_table;
350350

351351
- All running concurrent partitioning tasks can be listed using the `pathman_concurrent_part_tasks` view:
352352
```plpgsql
353-
postgres=# SELECT * FROM pathman_concurrent_part_tasks;
353+
SELECT * FROM pathman_concurrent_part_tasks;
354354
userid | pid | dbid | relid | processed | status
355355
--------+------+-------+-------+-----------+---------
356356
dmitry | 7367 | 16384 | test | 472000 | working

Diff for: README.rus.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ More interesting features are yet to come. Stay tuned!
3838

3939
## Roadmap
4040

41+
* Предоставить возможность установки пользовательских колбеков на создание\уничтожение партиции (issue [#22](https://github.com/postgrespro/pg_pathman/issues/22))
4142
* LIST-секционирование;
4243
* Оптимизация hash join для случая, когда обе таблицы секционированы по ключу join’а.
4344

@@ -65,7 +66,7 @@ CREATE EXTENSION pg_pathman;
6566
create_hash_partitions(relation REGCLASS,
6667
attribute TEXT,
6768
partitions_count INTEGER,
68-
partition_name TEXT DEFAULT NULL)
69+
partition_name TEXT DEFAULT NULL)
6970
```
7071
Выполняет HASH-секционирование таблицы `relation` по целочисленному полю `attribute`. Параметр `partitions_count` определяет, сколько секций будет создано. Если `partition_data` установлен в значение `true`, то данные из родительской таблицы будут автоматически распределены по секциям. Стоит иметь в виду, что миграция данных может занять некоторое время, а данные заблокированы. Для конкурентной миграции данных см. функцию `partition_table_concurrently()`.
7172

@@ -348,7 +349,7 @@ SELECT tableoid::regclass AS partition, * FROM partitioned_table;
348349

349350
- Получить все текущие процессы конкурентного секционирования можно из представления `pathman_concurrent_part_tasks`:
350351
```plpgsql
351-
postgres=# SELECT * FROM pathman_concurrent_part_tasks;
352+
SELECT * FROM pathman_concurrent_part_tasks;
352353
userid | pid | dbid | relid | processed | status
353354
--------+------+-------+-------+-----------+---------
354355
dmitry | 7367 | 16384 | test | 472000 | working

0 commit comments

Comments
 (0)