Re: [BUGS] First experiences with Postgresql 7.0 - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: [BUGS] First experiences with Postgresql 7.0
Date
Msg-id 200002241447.JAA16944@candle.pha.pa.us
Whole thread Raw
In response to Re: [BUGS] First experiences with Postgresql 7.0  (Rolf Grossmann <grossman@securitas.net>)
List pgsql-bugs
> Hi,
>
> on Thu, 24 Feb 2000 13:47:36 +0100 (MET) Peter Eisentraut wrote
> concerning "Re: [BUGS] First experiences with Postgresql 7.0" something like this:
>
> > Well, don't I look stupid here. Once upon a time I recall to have fixed
> > exactly this issue, apparently it snuck back in.
>
> > If you run psql in non-interactive mode the psqlrc file shouldn't be read
> > at all. Unless people want that flag, but I don't like that better.
>
> After doing some more experimenting, I noticed that psql does (indeed)
> not read the psqlrc file when given the -f option. Alas, the regression
> tests don't use -f but send the file in via stdio. So I think this
> behaviour is The Right Thing, but the regression tests should be fixed
> (probably to use -f).

But is it right to not read the psqlrc file with -f?   Can psqlrc be
read but not displayed with -q.  regress.sh uses -a and -q, which seem
to conflict with each other.

  -a              Echo all input from script
  -q              Run quietly (no messages, only query output)

I will admit regress.sh may be using the wrong flags now.  Also, PGLIB
is used by createlang.  Not sure how it used to work.

CREATE DATABASE
=============== installing PL/pgSQL...                =================
createlang: missing required argument PGLIB directory
(This is the directory where the interpreter for the procedural
language is stored. Traditionally, these are installed in whatever
'lib' directory was specified at configure time.)
createlang failed

--
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [BUGS] First experiences with Postgresql 7.0
Next
From: "Milo Hyson"
Date:
Subject: Sequence/constraint bug