Re: [HACKERS] Checking pg_hba.conf in the child process

2012-02-25 Thread Magnus Hagander
On Sat, Feb 25, 2012 at 00:45, Tom Lane wrote: > Alvaro Herrera writes: >> Excerpts from Bruce Momjian's message of vie feb 24 19:19:10 -0300 2012: >>> In looking over our authentication code, I noticed that we create the >>> child process before we check any of the pg_hba.conf file.  Now, I >>>

Re: [HACKERS] Checking pg_hba.conf in the child process

2012-02-24 Thread Tom Lane
Alvaro Herrera writes: > Excerpts from Bruce Momjian's message of vie feb 24 19:19:10 -0300 2012: >> In looking over our authentication code, I noticed that we create the >> child process before we check any of the pg_hba.conf file. Now, I >> realize we can't do authentication in the postmaster b

Re: [HACKERS] Checking pg_hba.conf in the child process

2012-02-24 Thread Bruce Momjian
On Fri, Feb 24, 2012 at 07:27:06PM -0300, Alvaro Herrera wrote: > > Excerpts from Bruce Momjian's message of vie feb 24 19:19:10 -0300 2012: > > In looking over our authentication code, I noticed that we create the > > child process before we check any of the pg_hba.conf file. Now, I > > realize

Re: [HACKERS] Checking pg_hba.conf in the child process

2012-02-24 Thread Alvaro Herrera
Excerpts from Bruce Momjian's message of vie feb 24 19:19:10 -0300 2012: > In looking over our authentication code, I noticed that we create the > child process before we check any of the pg_hba.conf file. Now, I > realize we can't do authentication in the postmaster because of possible > delay,

[HACKERS] Checking pg_hba.conf in the child process

2012-02-24 Thread Bruce Momjian
In looking over our authentication code, I noticed that we create the child process before we check any of the pg_hba.conf file. Now, I realize we can't do authentication in the postmaster because of possible delay, and checking the user name and database name filters is just work that is better d