Skip to content

Commit d5c8629

Browse files
authored
Migration for 2.8.0 (#1152)
1 parent 67ba48c commit d5c8629

File tree

5 files changed

+27
-4
lines changed

5 files changed

+27
-4
lines changed

.github/workflows/ubuntu-packages-and-docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
inputs:
66
packageVersion:
7-
default: "2.7.13"
7+
default: "2.8.0"
88
jobs:
99
#
1010
# PostgresML extension.

pgml-extension/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pgml-extension/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pgml"
3-
version = "2.7.13"
3+
version = "2.8.0"
44
edition = "2021"
55

66
[lib]
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
-- src/api.rs:691
2+
-- pgml::api::transform_stream
3+
CREATE OR REPLACE FUNCTION pgml."transform_stream"(
4+
"task" TEXT, /* alloc::string::String */
5+
"args" jsonb DEFAULT '{}', /* pgrx::datum::json::JsonB */
6+
"input" TEXT DEFAULT '', /* &str */
7+
"cache" bool DEFAULT false /* bool */
8+
) RETURNS SETOF TEXT /* alloc::string::String */
9+
IMMUTABLE STRICT PARALLEL SAFE
10+
LANGUAGE c /* Rust */
11+
AS 'MODULE_PATHNAME', 'transform_stream_string_wrapper';
12+
13+
-- src/api.rs:674
14+
-- pgml::api::transform_stream
15+
CREATE OR REPLACE FUNCTION pgml."transform_stream"(
16+
"task" jsonb, /* pgrx::datum::json::JsonB */
17+
"args" jsonb DEFAULT '{}', /* pgrx::datum::json::JsonB */
18+
"input" TEXT DEFAULT '', /* &str */
19+
"cache" bool DEFAULT false /* bool */
20+
) RETURNS SETOF TEXT /* alloc::string::String */
21+
IMMUTABLE STRICT PARALLEL SAFE
22+
LANGUAGE c /* Rust */
23+
AS 'MODULE_PATHNAME', 'transform_stream_json_wrapper';

pgml-sdks/pgml/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)