Skip to content

Commit 92209e4

Browse files
committed
fix outdated function parameter types in README.md
1 parent c78ee4e commit 92209e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ create_range_partitions(relation REGCLASS,
7575
count INTEGER DEFAULT NULL
7676
partition_data BOOLEAN DEFAULT true)
7777

78-
create_range_partitions(relation TEXT,
78+
create_range_partitions(relation REGCLASS,
7979
attribute TEXT,
8080
start_value ANYELEMENT,
8181
interval INTERVAL,
@@ -162,15 +162,15 @@ drop_range_partition(partition TEXT)
162162
Drop RANGE partition and all its data.
163163

164164
```plpgsql
165-
attach_range_partition(relation TEXT,
166-
partition TEXT,
165+
attach_range_partition(relation REGCLASS,
166+
partition REGCLASS,
167167
start_value ANYELEMENT,
168168
end_value ANYELEMENT)
169169
```
170170
Attach partition to the existing RANGE-partitioned relation. The attached table must have exactly the same structure as the parent table, including the dropped columns.
171171

172172
```plpgsql
173-
detach_range_partition(partition TEXT)
173+
detach_range_partition(partition REGCLASS)
174174
```
175175
Detach partition from the existing RANGE-partitioned relation.
176176

0 commit comments

Comments
 (0)