Skip to content

Commit 9fe19f9

Browse files
authored
Add DROP IDENTITY, OVERRIDING SYSTEM VALUE to PostgreSQL clauses (#820)
Quick PR to recognize `DROP IDENTITY` and `OVERRIDING SYSTEM VALUE` as one-line clauses
2 parents 5404197 + 21d7523 commit 9fe19f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/languages/postgresql/postgresql.formatter.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ const tabularOnelineClauses = expandPhrases([
169169
'DROP FOREIGN TABLE',
170170
'DROP FUNCTION',
171171
'DROP GROUP',
172+
'DROP IDENTITY',
172173
'DROP INDEX',
173174
'DROP LANGUAGE',
174175
'DROP MATERIALIZED VIEW',
@@ -208,6 +209,7 @@ const tabularOnelineClauses = expandPhrases([
208209
'LOCK',
209210
'MOVE',
210211
'NOTIFY',
212+
'OVERRIDING SYSTEM VALUE',
211213
'PREPARE',
212214
'PREPARE TRANSACTION',
213215
'REASSIGN OWNED',

0 commit comments

Comments
 (0)