Re: [HACKERS] PSQL man page patch - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] PSQL man page patch
Date
Msg-id 199801112018.PAA03529@candle.pha.pa.us
Whole thread Raw
In response to [HACKERS] PSQL man page patch  (Andrew Martin <martin@biochemistry.ucl.ac.uk>)
List pgsql-hackers
OK, we never installed this for 6.2 because we were already in Beta.
Can we do this for 6.3?  Vadim suggested we make this part of libpq, so
all applications could make use of it.

I have one of the original patches, but not the others. Martin, what do you
think?  Any other comments on this?


>
>
> Since one of my pet hates is people who add features without
> adding them to the documentation, I thought I'd better supply
> a patch to the psql man page which documents the .psqlrc file :-)
> (I forgot yesterday....)
>
>
> Andrew
>
>
>
> *** psql.1.old    Sat Jun 21 14:54:46 1997
> --- psql.1    Sat Jun 21 15:02:09 1997
> ***************
> *** 97,102 ****
> --- 97,113 ----
>   environment variable or, if that's not set, to the Unix account name of the
>   current user.
>   .PP
> + When
> + .IR "psql"
> + starts, it reads SQL commands from
> + .IR "/etc/psqlrc"
> + and then from
> + .IR "$(HOME)/.psqlrc"
> + This allows SQL commands like
> + .IR SET
> + which can be used to set the date style to be run at the start of
> + evry session.
> + .PP
>   .IR "psql"
>   understands the following command-line options:
>   .TP
>
>
>
> ----------------------------------------------------------------------------
> Dr. Andrew C.R. Martin                             University College London
> EMAIL: (Work) martin@biochem.ucl.ac.uk    (Home) andrew@stagleys.demon.co.uk
> URL:   http://www.biochem.ucl.ac.uk/~martin
> Tel:   (Work) +44(0)171 419 3890                    (Home) +44(0)1372 275775
>
>


--
Bruce Momjian
maillist@candle.pha.pa.us

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [DOCS] new psql commands
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] TODO addition