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

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

GitHub user sansanichfb opened a pull request:

    https://github.com/apache/incubator-hawq/pull/595

    HAWQ-628. Return -1 instead of error.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/incubator-hawq HAWQ-628

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-hawq/pull/595.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #595
    
----
commit c2e19b7252718020feebacf3e76bb46c91a31a3b
Author: Oleksandr Diachenko <[email protected]>
Date:   2016-04-11T19:24:37Z

    HAWQ-628. Return -1 instead of error.

----


> \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