Thread: pg_restore -U

pg_restore -U

From
Peter Eisentraut
Date:
Could we use some other letter for the pg_restore '-U' option?  psql and
wrapper scripts use -U to select the user name to connect as (different
from -u), and I'd like to implement this sometime for the pg_dump tools as
well.  How does -L ("list") sound?

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



Re: pg_restore -U

From
Bruce Momjian
Date:
Sounds good.


> Could we use some other letter for the pg_restore '-U' option?  psql and
> wrapper scripts use -U to select the user name to connect as (different
> from -u), and I'd like to implement this sometime for the pg_dump tools as
> well.  How does -L ("list") sound?
> 
> -- 
> Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 


--  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
 


Re: pg_restore -U

From
Philip Warner
Date:
At 22:51 5/03/01 +0100, Peter Eisentraut wrote:
>Could we use some other letter for the pg_restore '-U' option?  psql and
>wrapper scripts use -U to select the user name to connect as (different
>from -u), and I'd like to implement this sometime for the pg_dump tools as
>well.  How does -L ("list") sound?

I'm about to prevent some disabling of triggers, so I may as well make this
change as well, unless you are already doing it?


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/