Skip to content

Commit

Permalink
Fix typemod
Browse files Browse the repository at this point in the history
  • Loading branch information
robozmey committed Dec 4, 2024
1 parent 9440244 commit 857a208
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 707 deletions.
2 changes: 1 addition & 1 deletion contrib/try_convert/generate_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def remove_empty_lines(t):
f' LANGUAGE plpgsql AS\n' \
f'$func$\n' \
f' BEGIN\n' \
f' EXECUTE format(\'SELECT %L::%s::%s(%d)\', $1, source_type, pg_typeof(_out), len_out)\n' \
f' EXECUTE format(\'SELECT %L::%s::%s(%s)\', $1, source_type, pg_typeof(_out), len_out::text)\n' \
f' INTO _out;\n' \
f' EXCEPTION WHEN others THEN\n' \
f' -- do nothing: _out already carries default\n' \
Expand Down
Loading

0 comments on commit 857a208

Please sign in to comment.