Skip to content

Commit ef2be57

Browse files
committed
fixed regression tests
1 parent 0a3b7e5 commit ef2be57

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

expected/pg_pathman.out

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1770,15 +1770,14 @@ NOTICE: 100 rows copied from test_fkey_0
17701770

17711771
/* Check callbacks */
17721772
CREATE TABLE log(id serial, message text);
1773-
CREATE FUNCTION abc_on_partition_created_callback(args jsonb)
1773+
CREATE OR REPLACE FUNCTION abc_on_partition_created_callback(args jsonb)
17741774
RETURNS VOID AS $$
17751775
DECLARE
1776-
start_value TEXT := args->>'start';
1777-
end_value TEXT := args::jsonb->'end';
1776+
start_value TEXT := args->>'start';
1777+
end_value TEXT := args::jsonb->'end';
17781778
BEGIN
1779-
-- raise notice 'callback: %', args->start;
1780-
INSERT INTO log(message)
1781-
VALUES (start_value || '-' || end_value);
1779+
INSERT INTO log(message)
1780+
VALUES (start_value || '-' || end_value);
17821781
END
17831782
$$ language plpgsql;
17841783
CREATE TABLE abc(a serial, b int);

0 commit comments

Comments
 (0)