On Wed July 19 2006 4:26 pm, you wrote:
------------------- pg_hba.conf-------------------------
# Database administrative login by UNIX sockets
local all postgres ident sameuser
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all ident sameuser
--------------------------------------------------------
Should this be made into this ??
------------------- pg_hba.conf-------------------------
# Database administrative login by UNIX sockets
local all postgres ident sameuser
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
--------------------------------------------------------
3. I am not sure why your python script fails to connect. Are you running
your python script in the same machine running the database server?
Nope, I am having PostgreSQL in my laptop in which I am working on
Python. The gimmick needs to be found the first time, as I am pretty new
to PostgreSQL and things aren't like MySQL.