Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf9fa074

Browse files
committed
concrete types (hash.sql)
1 parentbf42045 commitf9fa074

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎hash.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
CREATEOR REPLACE FUNCTION @extschema@.create_hash_partitions(
1515
parent_relidREGCLASS,
1616
attributeTEXT,
17-
partitions_countINTEGER,
17+
partitions_countINT4,
1818
partition_dataBOOLEAN DEFAULT TRUE,
1919
partition_namesTEXT[] DEFAULTNULL,
2020
tablespacesTEXT[] DEFAULTNULL)
@@ -280,7 +280,7 @@ $$ LANGUAGE plpgsql;
280280
CREATEOR REPLACE FUNCTION @extschema@.create_hash_partitions_internal(
281281
parent_relidREGCLASS,
282282
attributeTEXT,
283-
partitions_countINTEGER,
283+
partitions_countINT4,
284284
partition_namesTEXT[] DEFAULTNULL,
285285
tablespacesTEXT[] DEFAULTNULL)
286286
RETURNS VOIDAS'pg_pathman','create_hash_partitions_internal'
@@ -296,7 +296,7 @@ LANGUAGE C STRICT;
296296
/*
297297
* Calculates hash for integer value
298298
*/
299-
CREATEOR REPLACE FUNCTION @extschema@.get_hash_part_idx(INTEGER,INTEGER)
299+
CREATEOR REPLACE FUNCTION @extschema@.get_hash_part_idx(INT4, INT4)
300300
RETURNSINTEGERAS'pg_pathman','get_hash_part_idx'
301301
LANGUAGE C STRICT;
302302

@@ -307,6 +307,6 @@ CREATE OR REPLACE FUNCTION @extschema@.build_hash_condition(
307307
attribute_typeREGTYPE,
308308
attributeTEXT,
309309
partitions_countINT4,
310-
partitions_indexINT4)
310+
partition_indexINT4)
311311
RETURNSTEXTAS'pg_pathman','build_hash_condition'
312312
LANGUAGE C STRICT;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp