Skip to content

Commit 0ac12ce

Browse files
committed
Merge branch 'master' into rel_future_beta
2 parents ceecae3 + 58b6962 commit 0ac12ce

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ create_hash_partitions(relation REGCLASS,
9999
attribute TEXT,
100100
partitions_count INTEGER,
101101
partition_data BOOLEAN DEFAULT TRUE,
102-
partition_names TEXT[] DEFAULT NULL,
103-
tablespaces TEXT[] DEFAULT NULL)
102+
partition_names TEXT[] DEFAULT NULL,
103+
tablespaces TEXT[] DEFAULT NULL)
104104
```
105105
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. Partition creation callback is invoked for each partition if set beforehand (see `set_init_callback()`).
106106

src/partition_creation.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,6 @@ create_single_partition_internal(Oid parent_relid,
703703
NodeSetTag(&like_clause, T_TableLikeClause);
704704
like_clause.relation = copyObject(parent_rv);
705705
like_clause.options = CREATE_TABLE_LIKE_DEFAULTS |
706-
CREATE_TABLE_LIKE_CONSTRAINTS |
707706
CREATE_TABLE_LIKE_INDEXES |
708707
CREATE_TABLE_LIKE_STORAGE;
709708

0 commit comments

Comments
 (0)