You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/02/23 18:23:44 UTC
[jira] [Commented] (TC-122) TO DBdump no longer works with Postgres
[ https://issues.apache.org/jira/browse/TC-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15880972#comment-15880972 ]
ASF GitHub Bot commented on TC-122:
-----------------------------------
GitHub user dangogh opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/302
[TC-122] use uri form for pg_dump connection
uri form includes db name, user, passwd, host, port
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dangogh/incubator-trafficcontrol pgdump-passwd
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/302.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 #302
----
commit 227aa057e5561a3331d158b3a20d0f018ebabc6c
Author: Dan Kirkwood <da...@gmail.com>
Date: 2017-01-19T21:23:23Z
use uri form for pg_dump connection
----
> TO DBdump no longer works with Postgres
> ---------------------------------------
>
> Key: TC-122
> URL: https://issues.apache.org/jira/browse/TC-122
> Project: Traffic Control
> Issue Type: Bug
> Components: Traffic Ops
> Affects Versions: 2.0.0
> Reporter: Jeremy Mitchell
> Assignee: Dan Kirkwood
> Fix For: 2.0.0
>
>
> The following route produces an empty file:
> $r->get('/dbdump')->over( authenticated => 1 )->to( 'GenDbDump#dbdump', namespace => $namespace );
> I think pg_dump requires a password or something. maybe ~/.pgpass is the answer?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)