Re: psql's HISTSIZE from .psqlrc do not want to be set

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andriy Tkachuk <ant(at)imt(dot)com(dot)ua>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: psql's HISTSIZE from .psqlrc do not want to be set
Date: 2003-08-26 18:35:38
Message-ID: 200308261835.h7QIZcB02610@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Patch applied. Thanks.

---------------------------------------------------------------------------

Andriy Tkachuk wrote:
> Hi folks.
>
> I did it for psql that HISTSIZE might take effect from my .psqlrc
>
>
> [10:31]p1:ant(at)pool:~/soft/pgsql/src/bin/psql>cvs diff
> Index: input.c
> ===================================================================
> RCS file: /projects/cvsroot/pgsql-server/src/bin/psql/input.c,v
> retrieving revision 1.21
> diff -r1.21 input.c
> 142c142,143
> < SetVariable(pset.vars, "HISTSIZE", "500");
> ---
> > if (GetVariable(pset.vars, "HISTSIZE") == NULL)
> > SetVariable(pset.vars, "HISTSIZE", "500");
>
>
> Thanks,
> Andriy.
>
> --
> Because strait is the gate, and narrow is the way, which leadeth unto
> life, and few there be that find it. (MAT 7:14)
> Ask, and it shall be given you; seek, and ye shall find;
> knock, and it shall be opened unto you... (MAT 7:7)
>
> ANT17-RIPE
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-08-26 18:37:52 Re: array concat, et al patch (was: [GENERAL] join of array)
Previous Message Bruce Momjian 2003-08-26 18:32:32 Re: add (minimal) UPDATE regression test