Skip to content

Commit

Permalink
Add DROP IDENTITY, OVERRIDING SYSTEM VALUE to PostgreSQL clauses (#820)
Browse files Browse the repository at this point in the history
Quick PR to recognize `DROP IDENTITY` and `OVERRIDING SYSTEM VALUE` as
one-line clauses
  • Loading branch information
nene authored Jan 5, 2025
2 parents 5404197 + 21d7523 commit 9fe19f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/languages/postgresql/postgresql.formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ const tabularOnelineClauses = expandPhrases([
'DROP FOREIGN TABLE',
'DROP FUNCTION',
'DROP GROUP',
'DROP IDENTITY',
'DROP INDEX',
'DROP LANGUAGE',
'DROP MATERIALIZED VIEW',
Expand Down Expand Up @@ -208,6 +209,7 @@ const tabularOnelineClauses = expandPhrases([
'LOCK',
'MOVE',
'NOTIFY',
'OVERRIDING SYSTEM VALUE',
'PREPARE',
'PREPARE TRANSACTION',
'REASSIGN OWNED',
Expand Down

0 comments on commit 9fe19f9

Please sign in to comment.