From: | Andrew Martin <martin(at)biochemistry(dot)ucl(dot)ac(dot)uk> |
---|---|
To: | hackers(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Re: your mail |
Date: | 1998-03-09 10:57:54 |
Message-ID: | 199803091057.KAA21676@bsmir06.biochem.ucl.ac.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> > By the way, I have a sugestion I'd like to do about psql:
> >
> > 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?
>
What about having an environment variable to check and if this isn't set either,
start without connecting.
i.e. Priority 1 is the command line
Priority 2 the envvar
Default, start without connection
Andrew
----------------------------------------------------------------------------
Dr. Andrew C.R. Martin University College London
EMAIL: (Work) martin(at)biochem(dot)ucl(dot)ac(dot)uk (Home) andrew(at)stagleys(dot)demon(dot)co(dot)uk
URL: http://www.biochem.ucl.ac.uk/~martin
Tel: (Work) +44(0)171 419 3890 (Home) +44(0)1372 275775
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Martin | 1998-03-09 11:04:56 | Re: [HACKERS] How to...? |
Previous Message | Andrew Martin | 1998-03-09 10:52:43 | Re: [HACKERS] pg_dumpall |