Skip to content

Commit b0229fb

Browse files
committed
rename schema to column_tetris and fix STABLE volatility for PG 18 compat
1 parent 292dbe1 commit b0229fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pg_column_tetris--0.1.0.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RETURNS TABLE (
6161
optimal_position int,
6262
padding_bytes text
6363
)
64-
LANGUAGE plpgsql STABLE AS $$
64+
LANGUAGE plpgsql VOLATILE AS $$
6565
DECLARE
6666
v_offset int;
6767
v_align int;
@@ -256,7 +256,7 @@ RETURNS TABLE (
256256
optimal_position int,
257257
padding_bytes text
258258
)
259-
LANGUAGE sql STABLE AS $$
259+
LANGUAGE sql VOLATILE AS $$
260260
SELECT * FROM column_tetris.compute_layout(relation_name::regclass::oid);
261261
$$;
262262

0 commit comments

Comments
 (0)