Skip to content

Commit 10cfe68

Browse files
kylorend3rpashagolub
authored andcommitted
refactor: increase partitions_to_precreate for postgresql schema
1 parent f8a7b69 commit 10cfe68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/sinks/sql/ensure_partition_postgres.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CREATE OR REPLACE FUNCTION admin.ensure_partition_metric_dbname_time(
55
metric text,
66
dbname text,
77
metric_timestamp timestamptz,
8-
partitions_to_precreate int default 0,
8+
partitions_to_precreate int default 3,
99
OUT part_available_from timestamptz,
1010
OUT part_available_to timestamptz)
1111
RETURNS record AS

0 commit comments

Comments
 (0)