CREATE OR REPLACE gets split #850
Answered
by
nene
jamesarosen
asked this question in
Q&A
-
sql-formatter splits Input CREATE OR REPLACE PROCEDURE myco.sp_refresh_foo_mv () LANGUAGE plpgsql AS $$
-- ... Output CREATE
OR REPLACE PROCEDURE myco.sp_refresh_foo_mv () LANGUAGE plpgsql AS $$
-- ... Is this intentional? If so, what is the theory behind doing this? |
Beta Was this translation helpful? Give feedback.
Answered by
nene
Mar 25, 2025
Replies: 2 comments 1 reply
-
No. Not intentional. It's a bug. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you want to, you can submit a patch. If you compare these lines:
it should be obvious what's missing from the CREATE PROCEDURE line. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jamesarosen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want to, you can submit a patch.
If you compare these lines:
it should be obvious what's missing from the CREATE PROCEDURE line.