Search Postgresql Archives

Re: suggestion/question pgpass alias?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks!

On Thu, Jun 11, 2020 at 3:27 PM Alvaro Herrera <alvherre@xxxxxxxxxxxxxxx> wrote:
On 2020-Jun-11, Caleb Cushing wrote:

> is it possible to support an alias for a pgpassfile? what I'm looking to do
> is
>
> psql --alias company -h localhost
>
> and not type anything else and get a shell.  if this is not possible could
> this be added?

I think what you want is a "service" file. See
https://www.postgresql.org/docs/current/libpq-pgservice.html

--
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


--
Caleb Cushing

https://xenoterracide.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux