Skip to content

Commit 625173b

Browse files
committed
fix wrong variable type (v_rows_count)
1 parent 0c8edcc commit 625173b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

range.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ CREATE OR REPLACE FUNCTION @extschema@.create_range_partitions(
8888
RETURNS INTEGER AS
8989
$$
9090
DECLARE
91-
v_rows_count INTEGER;
91+
v_rows_count BIGINT;
9292
v_atttype REGTYPE;
9393
v_max start_value%TYPE;
9494
v_cur_value start_value%TYPE := start_value;
@@ -204,7 +204,7 @@ CREATE OR REPLACE FUNCTION @extschema@.create_range_partitions(
204204
RETURNS INTEGER AS
205205
$$
206206
DECLARE
207-
v_rows_count INTEGER;
207+
v_rows_count BIGINT;
208208
v_max start_value%TYPE;
209209
v_cur_value start_value%TYPE := start_value;
210210
end_value start_value%TYPE;

0 commit comments

Comments
 (0)