Re: Enhancement to psql command, feedback. - Mailing list pgsql-general

From David G. Johnston
Subject Re: Enhancement to psql command, feedback.
Date
Msg-id CAKFQuwZE0xUMjOO_VwX-i594MCm2RtAfgiV8O=x73eYgMmzOZQ@mail.gmail.com
Whole thread Raw
In response to Re: Enhancement to psql command, feedback.  (John McKown <john.archie.mckown@gmail.com>)
Responses Re: Enhancement to psql command, feedback.
List pgsql-general
On Wed, May 9, 2018 at 6:44 AM, John McKown <john.archie.mckown@gmail.com> wrote:
Again, this is just a discussion point. And I'm quite willing to admit defeat if most people don't think that it is worth the effort.

​-1, at least per the example.  I would not want "-U postgres" inside the file.  I tend to rely on service entries, not environment variables, and wouldn't want to hard-code them either.  While psql has grown more flow-control capabilities recently it is, in most cases, a support language for me, not a main entry point.  Shell scripts merge the per-instance run-time environment I need with the behavior the script provides - merging that I find I need more often than not and don't miss the added overhead in the few cases where it is unnecessary.

David J.

pgsql-general by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Enhancement to psql command, feedback.
Next
From: John McKown
Date:
Subject: Re: Enhancement to psql command, feedback.