File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 14
14
CREATE OR REPLACE FUNCTION @extschema@.create_hash_partitions(
15
15
parent_relid REGCLASS,
16
16
attribute TEXT ,
17
- partitions_count INTEGER ,
17
+ partitions_count INT4 ,
18
18
partition_data BOOLEAN DEFAULT TRUE,
19
19
partition_names TEXT [] DEFAULT NULL ,
20
20
tablespaces TEXT [] DEFAULT NULL )
@@ -280,7 +280,7 @@ $$ LANGUAGE plpgsql;
280
280
CREATE OR REPLACE FUNCTION @extschema@.create_hash_partitions_internal(
281
281
parent_relid REGCLASS,
282
282
attribute TEXT ,
283
- partitions_count INTEGER ,
283
+ partitions_count INT4 ,
284
284
partition_names TEXT [] DEFAULT NULL ,
285
285
tablespaces TEXT [] DEFAULT NULL )
286
286
RETURNS VOID AS ' pg_pathman' , ' create_hash_partitions_internal'
@@ -296,7 +296,7 @@ LANGUAGE C STRICT;
296
296
/*
297
297
* Calculates hash for integer value
298
298
*/
299
- CREATE OR REPLACE FUNCTION @extschema@.get_hash_part_idx(INTEGER , INTEGER )
299
+ CREATE OR REPLACE FUNCTION @extschema@.get_hash_part_idx(INT4, INT4 )
300
300
RETURNS INTEGER AS ' pg_pathman' , ' get_hash_part_idx'
301
301
LANGUAGE C STRICT;
302
302
@@ -307,6 +307,6 @@ CREATE OR REPLACE FUNCTION @extschema@.build_hash_condition(
307
307
attribute_type REGTYPE,
308
308
attribute TEXT ,
309
309
partitions_count INT4,
310
- partitions_index INT4)
310
+ partition_index INT4)
311
311
RETURNS TEXT AS ' pg_pathman' , ' build_hash_condition'
312
312
LANGUAGE C STRICT;
You can’t perform that action at this time.
0 commit comments