Re: DDL from psql console?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: John Browne <jkbrowne(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: DDL from psql console?
Date: 2005-04-25 16:08:40
Message-ID: 200504251608.j3PG8eN25677@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)fuhr(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Florian G. Pflug 2005-04-25 16:56:40 Re: What does "tuple concurrently updated" mean?
Previous Message Karsten Hilbert 2005-04-25 16:02:12 Re: timezone() with timeofday() converts the wrong direction?