Re: createlang difficulty. - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: createlang difficulty.
Date
Msg-id 200110222348.f9MNm4j02427@candle.pha.pa.us
Whole thread Raw
In response to Re: createlang difficulty.  (speedboy <speedboy@nomicrosoft.org>)
List pgsql-hackers
> > I just tried it with current sources and got:
> > 
> >     #$ aspg createlang plpgsql test
> >     Password: <- bad password
> >     FATAL 1:  Password authentication failed for user "postgres"
> >     psql: FATAL 1:  Password authentication failed for user "postgres"
> >     
> >     createlang: external error
> >     #$ aspg createlang plpgsql test
> >     Password: <- correct password
> >     Password: <- correct password
> >     Password: <- correct password
> >     Password: <- correct password
> > 
> > Looks OK to me.
> 
> Ok, so it connects four times. From a users perspective that might be
> confusing. Is it possible to only prompt once for the password, just an
> idea I guess whoever created the program would want that to happen from a
> easy to use point of view. I.e. dummy proof?

Uh, yes, connecting once would be ideal.  It currently runs each SQL
query it needs in psql and checks the exit status.  Not sure how to code
that in one psql session.

--  Bruce Momjian                        |  http://candle.pha.pa.us 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,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] To Postgres Devs : Wouldn't changing the selectlimit
Next
From: Bruce Momjian
Date:
Subject: Re: createlang difficulty.