14
14
CREATEOR REPLACE FUNCTION @extschema@.create_hash_partitions(
15
15
parent_relidREGCLASS,
16
16
attributeTEXT ,
17
- partitions_countINTEGER ,
17
+ partitions_countINT4 ,
18
18
partition_dataBOOLEAN DEFAULT TRUE,
19
19
partition_namesTEXT [] DEFAULTNULL ,
20
20
tablespacesTEXT [] DEFAULTNULL )
@@ -280,7 +280,7 @@ $$ LANGUAGE plpgsql;
280
280
CREATEOR REPLACE FUNCTION @extschema@.create_hash_partitions_internal(
281
281
parent_relidREGCLASS,
282
282
attributeTEXT ,
283
- partitions_countINTEGER ,
283
+ partitions_countINT4 ,
284
284
partition_namesTEXT [] DEFAULTNULL ,
285
285
tablespacesTEXT [] DEFAULTNULL )
286
286
RETURNS VOIDAS ' 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
- CREATEOR REPLACE FUNCTION @extschema@.get_hash_part_idx(INTEGER , INTEGER )
299
+ CREATEOR REPLACE FUNCTION @extschema@.get_hash_part_idx(INT4, INT4 )
300
300
RETURNSINTEGER 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_typeREGTYPE,
308
308
attributeTEXT ,
309
309
partitions_countINT4,
310
- partitions_index INT4)
310
+ partition_index INT4)
311
311
RETURNSTEXT AS ' pg_pathman' ,' build_hash_condition'
312
312
LANGUAGE C STRICT;