Re: DDL from psql console? - Mailing list pgsql-general

From John Browne
Subject Re: DDL from psql console?
Date
Msg-id ccc606105042509001a871fa@mail.gmail.com
Whole thread Raw
In response to Re: DDL from psql console?  (Michael Fuhr <mike@fuhr.org>)
Responses Re: DDL from psql console?
List pgsql-general
Actually, that's a thought..  I could even create a bash wrapper
script so I wouldn't have to type the database name each time.  Will
give it a shot.

Thanks

On 4/25/05, Michael Fuhr <mike@fuhr.org> wrote:
> On Mon, Apr 25, 2005 at 10:44:14AM -0500, John Browne wrote:
> >
> > Yeah, I know about pg_dump.  I just was curious if there was another
> > way, since I always have two psql consoles already open at all times
> > anyway. :-)
>
> You could do "\!pg_dump ..."
>
> --
> Michael Fuhr
> http://www.fuhr.org/~mfuhr/
>

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: DDL from psql console?
Next
From: Bruce Momjian
Date:
Subject: Re: DDL from psql console?