Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Commit 5cdacdb

Browse files
committed
Update function definitions for type-related PGX functions
These type-related extension functions are not emitted by PGX, so must be added to our idempotent scripts in order to point the functions at the most recent version of our versioned extension binary.
1 parent 0bd0338 commit 5cdacdb

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
-- These type-related extension functions are not emitted by PGX, so must be
2+
-- added to our idempotent scripts in order to point the functions at the most
3+
-- recent version of our versioned extension binary.
4+
5+
-- src/aggregates/gapfill_delta.rs:29
6+
-- promscale::aggregates::gapfill_delta::gapfilldeltatransition_in
7+
CREATE OR REPLACE FUNCTION _prom_ext."gapfilldeltatransition_in"(
8+
"input" cstring /* &cstr_core::CStr */
9+
) RETURNS _prom_ext.GapfillDeltaTransition /* promscale::aggregates::gapfill_delta::GapfillDeltaTransition */
10+
IMMUTABLE PARALLEL SAFE STRICT
11+
LANGUAGE c /* Rust */
12+
AS '$libdir/promscale-0.5.1', 'gapfilldeltatransition_in_wrapper';
13+
14+
-- src/aggregates/gapfill_delta.rs:29
15+
-- promscale::aggregates::gapfill_delta::gapfilldeltatransition_out
16+
CREATE OR REPLACE FUNCTION _prom_ext."gapfilldeltatransition_out"(
17+
"input" _prom_ext.GapfillDeltaTransition /* promscale::aggregates::gapfill_delta::GapfillDeltaTransition */
18+
) RETURNS cstring /* &cstr_core::CStr */
19+
IMMUTABLE PARALLEL SAFE STRICT
20+
LANGUAGE c /* Rust */
21+
AS '$libdir/promscale-0.5.1', 'gapfilldeltatransition_out_wrapper';

0 commit comments

Comments
 (0)