Re: psql question

From: clayton cottingham <clayton(at)marketingchallenge(dot)com>
To: Joe Conway <joe(at)conway-family(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, sqllist <pgsql-sql(at)postgresql(dot)org>
Subject: Re: psql question
Date: 2000-11-23 23:43:12
Message-ID: 3A1DAB90.9BDC08E0@marketingchallenge.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Joe Conway wrote:
>
> > > On machines where I've installed PostgreSQL 7.0.2 from RPM, psql allows
> use
> > > of the up arrow key for history and the escape/tab key for command
> > > completion, but on my remote web host (webpipe.net) those keys don't
> work.
> > > What do I need to do to get these features working on my remote web
> host?
> > > I've seen reference to .psqlrc in the psql man file, but not much else
> (no
> > > syntax, etc).
> >
> > If you compiled from source, make sure you had the readline-devel package
> > installed.
> >
>
> Thanks for your responses, Peter & Mathijs.
>
> Actually, since the issue is on a hosted system, I don't have access to
> recompile. I was hoping that maybe there would be something I could
> configure from my own (non-root and non-postgres) account.
>
> My question actaully took several days just to make it to the list, so in
> the meantime I found my own work-around -- I copied local copies of psql and
> libpq up to my account on the web host. Then I put my own account folder to
> the front of the PATH and added a LD_LIBRARY_PATH. Now when I run 'psql' it
> works just like on my own machine!
>
> Thanks again for the response.
>
> Joe

you could use a version of pgsql on your own machine and use the host
switch to connect to an extrenal db

of course your db isp will have to allow your ip to connect, not an easy
thing if your dial up!!

this way you could recompile your own ver of psql

hope that helps

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message bmccoy 2000-11-24 04:06:19 Re: psql question
Previous Message Joe Conway 2000-11-23 22:01:52 Re: psql question