8000 wrap-after not working for CALL and FUNCTION · Issue #360 · darold/pgFormatter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
wrap-after not working for CALL and FUNCTION #360
Open
@Askalion

Description

@Askalion

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
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0