Re: Problem with pg_service.conf

2020-07-23 Thread David G. Johnston
On Thu, Jul 23, 2020 at 6:12 AM Michał Lis wrote: > Hello, > > The server is located in the lan and runs on Windows 7x64 Ultimate. > On this server I created pg_service.conf file and set the environment > variable of PGSERVICEFILE. > The server software (postgres) doesn't use PGSERVICEFILE, only

Re: Problem with pg_service.conf

2020-07-23 Thread Michał Lis
Hello, The server is located in the lan and runs on Windows 7x64 Ultimate. On this server I created pg_service.conf file and set the environment variable of PGSERVICEFILE. The client is an other computer with Windows 7x64 Pro. It has no access to local folders on the server (especially to the

Re: Problem with pg_service.conf

2020-07-22 Thread Adrian Klaver
On 7/21/20 2:35 PM, Michał Lis wrote: Hello, I can't connect to a database via service defined in pg_service.conf file from remote machine. Connection from local machine using this service definition works fine. I tested it on PostgreSQL 9.4 and 9.6. The other problem is with the localizati

Re: Problem with pg_service.conf

2020-07-22 Thread Ron
On 7/21/20 4:35 PM, Michał Lis wrote: Hello, I can't connect to a database via service defined in pg_service.conf file from remote machine. Connection from local machine using this service definition works fine. I tested it on PostgreSQL 9.4 and 9.6. The other problem is with the localizati