[ 
https://issues.apache.org/jira/browse/HAWQ-628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15237929#comment-15237929
 ] 

ASF GitHub Bot commented on HAWQ-628:
-------------------------------------

Github user GodenYao commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/595#discussion_r59448875
  
    --- Diff: src/test/regress/output/hcatalog_lookup.source ---
    @@ -277,9 +277,17 @@ alter table test_schema.p exchange partition p1 with 
table hcatalog.test_schema.
     ERROR:  reference to hcatalog table "hcatalog.test_schema.r" is not 
allowed in this context
     -- negative test: cannot run pg_database_size on hcatalog
    --- End diff --
    
    please update comments here.


> \l+ returns hcatalog not supported error
> ----------------------------------------
>
>                 Key: HAWQ-628
>                 URL: https://issues.apache.org/jira/browse/HAWQ-628
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Hcatalog, PXF
>            Reporter: Goden Yao
>            Assignee: Oleksandr Diachenko
>             Fix For: 2.0.0
>
>
> This is likely not from HAWQ client
> {code}
> gpadmin=# \l+
> ERROR:  database hcatalog (OID 6120) is reserved (dbsize.c:185)
> gpadmin=# \l
>                  List of databases
>    Name    |  Owner  | Encoding | Access privileges
> -----------+---------+----------+-------------------
>  gpadmin   | gpadmin | UTF8     |
>  hcatalog  | gpadmin | UTF8     |
>  lc_demo   | gpadmin | UTF8     |
>  postgres  | gpadmin | UTF8     |
>  template0 | gpadmin | UTF8     |
>  template1 | gpadmin | UTF8     |
> (6 rows)
> {code}
> *Expected Behavior*
> 1. show hcatalog under \l+ normally with as much information as we can provide
> 2. we'll list hcatalog dbsize as "-1" in l+ mode to make it not error out for 
> other psql compatible clients



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to