BSD psql problems - Mailing list pgsql-ports

From Ingram, Bryan
Subject BSD psql problems
Date
Msg-id D05EF808F2DFD211AE4A00105AA1B5D226599F@cpsmail
Whole thread Raw
List pgsql-ports
I encountered this possible bug(?) while I was attempting to install 6.5 on
a BSDI BSD/OS 3.1 system.

The error appears when you attempt to run createdb or createlang (or any
script that employs psql from the command line.)

When trying to install plpgsql with createlang I get:

ERROR:  parser: parse error at or near ""

Subsequent testing reveals that

$ psql -tq -c "select 1"

generates:

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

Specifying the database:

$ psql -tq -c "select 1" template1

gets:

ERROR:  parser: parse error at or near ""

I've tried this using bash, csh and sh, all with the same results.

Am I doing something wrong, is this a BSD problem, or is there a bug in
psql?

Thanks,
Bryan Ingram








pgsql-ports by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PORTS] Re: psql under win32
Next
From: Keizo Shimizu
Date:
Subject: 6.5 make error on Solaris 2.5.1