Re: Accessing Postgres Server and database from other Machine - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Accessing Postgres Server and database from other Machine
Date
Msg-id 2868688b-2344-5d8e-e321-b329b7a61e47@aklaver.com
Whole thread Raw
In response to Re: Accessing Postgres Server and database from other Machine  (Paul Förster <paul.foerster@gmail.com>)
Responses Re: Accessing Postgres Server and database from other Machine
List pgsql-general
On 12/5/20 1:05 AM, Paul Förster wrote:
> Hi Hemil,
> 
>> On 05. Dec, 2020, at 07:50, Hemil Ruparel <hemilruparel2002@gmail.com> wrote:
>>
>> Did you restart postgres after changing pg_hba.conf?
> 
> that shouldn't be necessary for changes in pg_hba.conf. Just do either on the command line:
> 
> $ pg_ctl reload
> 
> or from psql:
> 
> postgres=# select pg_reload_conf();
> 
> You can then see the effective result immediately in pg_hab_file_rules:
> 
> postgres=# table pg_hba_file_rules;
> 
> Hope this helps.

Given that the OP changed pg_hba.conf.sample, probably not:).

> 
> Cheers,
> Paul
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Accessing Postgres Server and database from other Machine
Next
From: Paul Förster
Date:
Subject: Re: Accessing Postgres Server and database from other Machine