Formatting the output

Поиск
Список
Период
Сортировка
От G. Anthony Reina
Тема Formatting the output
Дата
Msg-id 37A08915.D5B83C85@nsi.edu
обсуждение исходный текст
Ответы Re: [SQL] Formatting the output  (Bill Brandt <brandtwr-pgsql@draaw.net>)
Re: [SQL] Formatting the output  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [SQL] Formatting the output  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-sql
Is there a way that I can supress the column heading and the "(# rows)"
which come before and after the following psql command:

psql -e db01 -c "select tablename from pg_tables where tablename NOT
LIKE 'pg%'"


The current output is:

tablename
=======
table1
table2
table3
table4
(4 rows)

What I'd like to get is simply:

table1
table2
table3
table4


Thanks.
-Tony




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

Предыдущее
От: Remigiusz Sokolowski
Дата:
Сообщение: test, please ignore
Следующее
От: Bill Brandt
Дата:
Сообщение: Re: [SQL] Formatting the output