Re: DDL from psql console?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: DDL from psql console?
Дата
Msg-id 200504251608.j3PG8eN25677@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: DDL from psql console?  (John Browne <jkbrowne@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: John Browne
Дата:
Сообщение: Re: DDL from psql console?
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: timezone() with timeofday() converts the wrong direction?