<filename>openGaussBase/testcase/KEYWORDS/module/Opengauss_Function_Keyword_Module_Case0033.sql
--  @testpoint:opengauss关键字module(非保留)，作为视图名


--关键字explain作为视图名，不带引号，创建成功
CREATE or replace VIEW module AS
SELECT * FROM pg_tablespace WHERE spcname = 'pg_default';
drop view module;

--关键字explain作为视图名，加双引号，创建成功
CREATE  or replace VIEW "module" AS
SELECT * FROM pg_tablespace WHERE spcname = 'pg_default';
drop VIEW "module";

--关键字explain作为视图名，加单引号，合理报错
CREATE or replace VIEW 'module' AS
SELECT * FROM pg_tablespace WHERE spcname = 'pg_default';

--关键字explain作为视图名，加反引号，合理报错
CREATE or replace VIEW `module` AS
SELECT * FROM pg_tablespace WHERE spcname = 'pg_default';

