Re: SV: pg_service.conf and client support

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Niels Jespersen <NJN(at)dst(dot)dk>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: SV: pg_service.conf and client support
Date: 2020-06-15 13:35:33
Message-ID: 48a3ee7c84db3a2855c09a6616668d89a878463d.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2020-06-15 at 11:58 +0000, Niels Jespersen wrote:
> > For your examples that means:
> > - The PostgreSQL ODBC server can use pg_service.conf
> > - NpgSQL cannot use the file.
>
> You mention that the PostgreSQL ODBC driver can use pg_service.conf. But I cannot
> find any examples om how to construct a connectionstring that PostgreSQL ODBC will accept?

After looking at the code, I am no longer sure.

There doesn't seem to be a way to specify a general connection string.

You could try setting the environment variable PGSERVICE to specify
the service.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2020-06-15 13:37:41 Re: TOAST table size in bytes growing despite working autovacuum
Previous Message Sonam Sharma 2020-06-15 13:21:14 Replication error