postgre install/perl interf

From: "Andy Farrell" <Andy_Farrell(at)gator-gate(dot)itd(dot)sterling(dot)com>
To: "PostGreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: postgre install/perl interf
Date: 1998-03-13 16:34:52
Message-ID: n1322315388.15316@itd.sterling.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

REGARDING postgre install/perl interface

Hello,

I'm having trouble installing the perl interface to postgresql. Postgres
seems to have installed correctly. The regression tests worked as documented
after the install.

One quirk with psql though is that if I don't specify an existing database to
use (e.g., template1) on the command line, I get the following error:

Connection to database 'postgres' failed.
FATAL 1: Database postgres does not exist in pg_database

Is the 'postgres' database suppose to be created? How was it suppose to be
created (i.e., did initdb not work correctly)?

Back to the perl problem. The make file seems to be created appropriately
and the make works as documented. The 'make test' fails on the second test
which attempts to connect to postgres using the 'template1' database. The
following error is reported:

not ok 2: 0, 1
connectDB() failed: Is the postmaster running and accepting TCP/IP(with -i)
connections at 'localhost' on port '5432'?

The options in the pg_hba.conf file are:
local all trust
host all 199.4.254.38 255.255.255.255 trust

I'm running Perl5.00403, Solaris 2.5.1 on a Sun Ultra 10 and using PostGreSQL
v6.3.

Any help would be sincerely appreciated,
Andy

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 1998-03-13 16:53:08 Re: PL/PgSQL discussion
Previous Message Jackson, DeJuan 1998-03-13 16:29:22 RE: [HACKERS] PL/pgSQL - for discussion (RETURN)