feat: support pgsql code completion (#205)
* feat: pgsql: complete sql, upgrade syntax file and complete autoImprove * feat: pgsql: complete unit test * feat: pgsql: update unit test for autocomplete * feat(pgsql: update split's context type ): pgsql: update split's context type * feat(pgsql: update schema, table, procedure, tablespace, function, view,database's rule name): pgsql * feat: pgsql: update usualName's rule realize * feat: pgsql:update funcName's using --------- Co-authored-by: zhaoge <>
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
lexer grammar PostgreSQLLexer;
|
||||
|
||||
/**
|
||||
* Reference Doc: https://www.postgresql.org/docs/9.3/sql-commands.html
|
||||
* Reference Doc: https://www.postgresql.org/docs/16.1/sql-commands.html
|
||||
*/
|
||||
// SPECIAL CHARACTERS (4.1.4)
|
||||
|
||||
@ -647,6 +647,28 @@ KW_PEFERENCES: 'PEFERENCES';
|
||||
KW_USAGE: 'USAGE';
|
||||
KW_CONNECT: 'CONNECT';
|
||||
KW_PUBLIC: 'PUBLIC';
|
||||
KW_MERGE: 'MERGE';
|
||||
KW_MATCHED: 'MATCHED';
|
||||
KW_BREADTH: 'BREADTH';
|
||||
KW_DEPTH: 'DEPTH';
|
||||
KW_UNSAFE: 'UNSAFE';
|
||||
KW_RESTRICTED: 'RESTRICTED';
|
||||
KW_SAFE: 'SAFE';
|
||||
KW_FINALIZE: 'FINALIZE';
|
||||
KW_MODULUS: 'MODULUS';
|
||||
KW_REMAINDER: 'REMAINDER';
|
||||
KW_LOGIN: 'LOGIN';
|
||||
KW_NOLOGIN: 'NOLOGIN';
|
||||
KW_REPLICATION: 'REPLICATION';
|
||||
KW_NOREPLICATION: 'NOREPLICATION';
|
||||
KW_BYPASSRLS: 'BYPASSRLS';
|
||||
KW_NOBYPASSRLS: 'NOBYPASSRLS';
|
||||
KW_PERMISSIVE: 'PERMISSIVE';
|
||||
KW_RESTRICTIVE: 'RESTRICTIVE';
|
||||
KW_COMPRESSION: 'COMPRESSION';
|
||||
KW_PLAIN: 'PLAIN';
|
||||
KW_EXTENDED: 'EXTENDED';
|
||||
KW_MAIN: 'MAIN';
|
||||
//
|
||||
|
||||
// IDENTIFIERS (4.1.1)
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user