8

I was wondering if i issued a reload command to Postgres so that it could reread the pg_hba.conf file (Made some changes in here and need them to take immediate effect on a live system) will destroy or drop and current connections?

/etc/init.d/postgreSQL83 reload

2
  • On a side note, 8.3 is unsupported and you should look at upgrading. postgresql.org/support/versioning Commented Feb 28, 2013 at 23:24
  • Thanks Craig. I will definitely note that. Commented Mar 1, 2013 at 12:20

1 Answer 1

8

I crossed my fingers and tried this on my own. And, it worked! No connections dropped. So you can actually issue a postgreSQL reload command at the command prompt and it only reads the configuration file. It does not restart the PostgreSQL server nor drop connections.

Sign up to request clarification or add additional context in comments.

2 Comments

Correct, pg_ctl reload doesn't break connections. A restart will.
And it reads all conf files, (eg pg_hba.conf as well), not just postgresql.conf.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.