Search Postgresql Archives

Re: DDL from psql console?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx> 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@xxxxxxxxxxxxxxxx               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
      message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux