pgFormatter
pgFormatter copied to clipboard
Unattractive formatting of CHECK expression
Input
CREATE TYPE person AS (
id text NOT NULL,
age integer NOT NULL CHECK (age > 0),
);
Output
CREATE TYPE person AS (
id text NOT NULL,
age integer NOT NULL CHECK (
age > 0),
);
I would prefer the CHECK expression to either not be wrapped or the closing paren should be on its own line.