Skip to content

Commit

Permalink
Add support for postgres PUBLICATION
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Reynolds committed Aug 15, 2024
1 parent 70a09ab commit bcbefc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lexer/statements/postgres/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class PostgresCreate implements ILexer {
"materialized",
"or",
"procedure",
"publication",
"role",
"sequence",
"server",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ test.each([
["CREATE MATERIALIZED VIEW blah;"],
["CREATE VIEW blah;"],
["CREATE EXTENSION blah;"],
["CREATE PUBLICATION blah;"],
["CREATE SEQUENCE blah;"],
])("it does not warn about valid CREATE options", (query) => {
const checker = new PostgresInvalidCreateOption();
Expand Down

0 comments on commit bcbefc4

Please sign in to comment.