GitHub user jiny2 opened a pull request:
https://github.com/apache/incubator-hawq/pull/148
HAWQ-204. Long dbname causes core dump
This fix cut the long string of database name.
And the host info string is moved the end of string which maybe missed if
the whole string is too long.
For example:
postgres=# \c
database1234567890123456789012345678901234567890123456789012345
You are now connected to database
"database1234567890123456789012345678901234567890123456789012345" as user
"yjin".
postgres: port 5432, yjin database12... [local] con369 idle [local]
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jiny2/incubator-hawq HAWQ-204
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-hawq/pull/148.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 #148
----
commit d53c9c70983fe284c9d158da22376a04e613ba19
Author: Yi Jin <[email protected]>
Date: 2015-12-02T11:51:19Z
HAWQ-204. Long dbname causes core dump
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---