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

Paul Guo commented on HAWQ-1378:
--------------------------------

There have been a related pg upstream patch. It looks good. We could basically 
follow that.

   commit 86947e666d39229558311d7b0be45608fd071ed8
    Author: Peter Eisentraut <[email protected]>
    Date:   Sun Mar 11 01:52:05 2012 +0200

        Add more detail to error message for invalid arguments for server 
process

        It now prints the argument that was at fault.

        Also fix a small misbehavior where the error message issued by
        getopt() would complain about a program named "--single", because
        that's what argv[0] is in the server process.

> Elaborate the "invalid command-line arguments for server process" error.
> ------------------------------------------------------------------------
>
>                 Key: HAWQ-1378
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1378
>             Project: Apache HAWQ
>          Issue Type: Bug
>            Reporter: Paul Guo
>            Assignee: Ed Espino
>
> I saw the following errors when running several times,
> "Error dispatching to ***: connection pointer is NULL."
> FATAL:  invalid command-line arguments for server process
> While this usually means there is bug in related code but the code should 
> have reported more detailed log so that we could catch what argument is wrong 
> with less pain, even there is log level switch for argument dumping.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to