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/03/08 22:51:38 UTC

[jira] [Commented] (TC-177) admin.pl should use uri form to connect to postgresql utilities

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

ASF GitHub Bot commented on TC-177:
-----------------------------------

GitHub user rscrimojr opened a pull request:

    https://github.com/apache/incubator-trafficcontrol/pull/340

    [TC-177] changed psql to use URI.

    This fixes [TC-177](https://issues.apache.org/jira/browse/TC-177)

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

    $ git pull https://github.com/rscrimojr/incubator-trafficcontrol TC177

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

    https://github.com/apache/incubator-trafficcontrol/pull/340.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 #340
    
----
commit a92d8a024b12b74a65fdffd8d0a9e5e805a03abd
Author: Robert Scrimo <ro...@comcast.com>
Date:   2017-03-08T22:42:14Z

    changed psql to use URI.

----


> admin.pl should use uri form to connect to postgresql utilities
> ---------------------------------------------------------------
>
>                 Key: TC-177
>                 URL: https://issues.apache.org/jira/browse/TC-177
>             Project: Traffic Control
>          Issue Type: Bug
>          Components: Traffic Ops
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Dan Kirkwood
>            Assignee: Robert Scrimo
>             Fix For: 2.1.0
>
>
> `admin.pl` uses command line options on each postgres utility command to connect to the db.   This suffers from the same issue we had with pg_dump (see [TC-122]).   The same uri form used for that fix should be used here as well.
> This should be considered for inclusion in 2.0.x..



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