Re: Result output: how-to not have header and footers?

Поиск
Список
Период
Сортировка
От Christoph Dalitz
Тема Re: Result output: how-to not have header and footers?
Дата
Msg-id 20020905091110.675dc1f1.christoph.dalitz@hs-niederrhein.de
обсуждение исходный текст
Ответ на Result output: how-to not have header and footers?  (Jean-Christian Imbeault <jc@mega-bucks.co.jp>)
Список pgsql-general
>
> Is it possible in postgresQL to get a query to return only values
> without the usual column identifiers header and number of results footer
> lines?
>
> I'm trying to pipe the output of a command line query and the
> header/footers are causing problems :)
>
you can fine tune the format of query results in psql wiht \pset, eg.

    \pset unaligned
    \pset fieldsep |
    \pset tuples_only


See the man page of psql for details.

Christoph Dalitz

В списке pgsql-general по дате отправления:

Предыдущее
От: Justin Clift
Дата:
Сообщение: Re: could not login as a root
Следующее
От: Jeff Davis
Дата:
Сообщение: 7.3b1 installation