hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sansanichfb <...@git.apache.org>
Subject [GitHub] incubator-hawq pull request: HAWQ-369. Hcatalog as reserved name.
Date Tue, 02 Feb 2016 23:08:25 GMT
Github user sansanichfb commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/324#discussion_r51652164
  
    --- Diff: src/test/regress/output/hcatalog_lookup.source ---
    @@ -266,6 +266,29 @@ select pg_catalog.pg_database_size('hcatalog');
     ERROR:  database hcatalog (OID 6120) is reserved (SOMEFILE:SOMEFUNC)
     select pg_catalog.pg_database_size(6120);
     ERROR:  database hcatalog (OID 6120) is reserved (SOMEFILE:SOMEFUNC)
    +--positive test: should be able to create table named "hcatalog"
    +CREATE TABLE hcatalog(a int);
    +--negative test: cannot create database named "hcatalog"
    +CREATE DATABASE hcatalog;
    +ERROR:  "hcatalog" is a reserved name for hcatalog feature integration
    +--allow renaming schemas and databases
    +SET gp_called_by_pgdump = true;
    +--negative test: cannot rename exiting database to "hcatalog"
    +ALTER DATABASE regression RENAME TO hcatalog;
    +ERROR:  "hcatalog" is a reserved name for hcatalog feature integration
    +--positive test: can rename exiting schema to "hcatalog"
    --- End diff --
    
    fixed


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message