cbb1279f9e
* 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 <>
32 lines
363 B
SQL
32 lines
363 B
SQL
CREATE TABLE db. ();
|
|
|
|
INSERT INTO db.tb ;
|
|
|
|
SELECT * FROM db. ;
|
|
|
|
ALTER TABLE db ;
|
|
|
|
CREATE OR REPLACE VIEW db.v;
|
|
|
|
ALTER VIEW db.v ;
|
|
|
|
DROP VIEW db. ;
|
|
|
|
CREATE FUNCTION fn1;
|
|
|
|
DROP FUNCTION fn1;
|
|
|
|
CREATE DATABASE db;
|
|
|
|
DROP DATABASE db ;
|
|
|
|
ALTER DATABASE db ;
|
|
|
|
CREATE SCHEMA IF NOT EXISTS schema_name;
|
|
|
|
DROP SCHEMA IF EXISTS sch;
|
|
|
|
ALTER SCHEMA name RENAME TO new_name;
|
|
|
|
|