1 parent 0a312a0 commit af9f7dbCopy full SHA for af9f7db
1 file changed
pg_column_tetris--0.1.0.sql
@@ -61,7 +61,8 @@ RETURNS TABLE (
61
optimal_position int,
62
padding_bytes text
63
)
64
-LANGUAGE plpgsql VOLATILE AS $$
+LANGUAGE plpgsql VOLATILE
65
+SET search_path TO pg_catalog, pg_temp AS $$
66
DECLARE
67
v_offset int;
68
v_align int;
@@ -266,7 +267,8 @@ $$;
266
267
268
CREATE FUNCTION column_tetris.validate(rel_oid oid)
269
RETURNS void
-LANGUAGE plpgsql AS $$
270
+LANGUAGE plpgsql
271
272
273
v_current_waste int := 0;
274
v_optimal_waste int := 0;
@@ -471,7 +473,8 @@ $$;
471
473
472
474
CREATE FUNCTION column_tetris.ddl_check()
475
RETURNS event_trigger
476
477
478
479
r record;
480
current_mode text;
0 commit comments