pgFormatter
pgFormatter copied to clipboard
wrap-after not working for CALL and FUNCTION
In pgFormatter 5.6, argument wrapping for CALL statements and function calls does not work, even when using the --wrap-after and --comma-start options. Arguments are always kept in a single line.
CALL my_procedure(param1, param2, param3); The expected formatted output is:
CALL my_procedure( param1 , param2 , param3 );
Similarly, for function calls: SELECT my_function(param1, param2, param3); Expected formatting:
SELECT my_function( param1 , param2 , param3 );
Yes, this is not supported in procedure creation or call.