Formatting the output - Mailing list pgsql-sql

From G. Anthony Reina
Subject Formatting the output
Date
Msg-id 37A08915.D5B83C85@nsi.edu
Whole thread Raw
Responses 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>)
List 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 by date:

Previous
From: Remigiusz Sokolowski
Date:
Subject: test, please ignore
Next
From: Bill Brandt
Date:
Subject: Re: [SQL] Formatting the output