From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Niral Trivedi <niral(dot)trivedi(at)insage(dot)com> |
Cc: | "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Problem with pg_hba.conf |
Date: | 2000-12-13 16:45:15 |
Message-ID: | 9068.976725915@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Niral Trivedi <niral(dot)trivedi(at)insage(dot)com> writes:
> Also, I have added separate lines in 'pg_hba.conf' file for two db as
> follows:
> local db1 crypt file1.dat
> local db2 crypt file2.dat
That looks correct as far as it goes.
> But problem is I can connect to both db using both password.
Are you sure the postmaster is checking the password at all? It sounds
to me like the postmaster might be selecting some earlier entry in
pg_hba.conf and not using these two. Did you comment out the default
entry for "local all trust"? Are you perhaps connecting via IP, rather
than via a Unix socket?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Niral Trivedi | 2000-12-13 17:05:23 | RE: Problem with pg_hba.conf |
Previous Message | Frank Joerdens | 2000-12-13 16:34:47 | TOAST & performance with lots of big columns in a table |