From: | fgschwindt(at)qnx(dot)com |
---|---|
To: | undisclosed-recipients:; |
Subject: | Re: your mail |
Date: | 1998-03-07 21:05:46 |
Message-ID: | 199803072105.QAA19140@hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> > It would be a good idea, IMHO, that if psql is called alone (without
> > database nor any parameter), instead of try to connect to database 'user'
> > starts interactively without connection. Then, simple calling "\c dbname"
> > would connect the user to the desired database. What you think?
> > Cheers,
>
> This seems like a good idea. Any comments?
>
When I was doing my own changes in the source to achieve this behavior, I've
noticed that in several places exit is called without free'ing the PGconn
pointer, the prompt and other things, specially when malloc fails and when
psql cannot establish the connection to a new database.
It's not a great thing, but it'd be good to fix it.
Cheers,
Federico.
--
Before humanity was born to this world Federico Schwindt
the stars shone in the heavens. fgschwindt(at)qnx(dot)com
Long after humanity is gone
the stars will continue to shine.
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1998-03-07 21:16:29 | Re: [HACKERS] Backend crashes on select ... union |
Previous Message | Brett McCormick | 1998-03-07 20:08:45 | Re: [HACKERS] Re: your mail |