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

From Bruce Momjian
Subject Re: DDL from psql console?
Date
Msg-id 200504251608.j3PG8eN25677@candle.pha.pa.us
Whole thread Raw
In response to Re: DDL from psql console?  (John Browne <jkbrowne@gmail.com>)
List pgsql-general
John Browne wrote:
> 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 ..."

Also, what is it you want to see that \d doesn't give you?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: John Browne
Date:
Subject: Re: DDL from psql console?
Next
From: Karsten Hilbert
Date:
Subject: Re: timezone() with timeofday() converts the wrong direction?