Re: createlang difficulty.

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: speedboy <speedboy(at)nomicrosoft(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: createlang difficulty.
Date: 2001-10-22 23:48:04
Message-ID: 200110222348.f9MNm4j02427@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-10-22 23:54:39 Re: createlang difficulty.
Previous Message Tom Lane 2001-10-22 23:13:10 Re: Does "postmaster -i"...