pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: G. Anthony Reina <reina@nsi.edu>
To: pgsql-sql@postgreSQL.org <pgsql-sql@postgreSQL.org>
Subject: Formatting the output
Date: Thu, 29 Jul 1999 10:02:13 -0700
Message-ID: <37A08915.D5B83C85@nsi.edu> (raw)

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





view thread (7+ messages)  latest in thread

Message-ID: <37A08915.D5B83C85@nsi.edu>
Permalink:  ../37A08915.D5B83C85@nsi.edu/
Also on:    postgresql.org/message-id/37A08915.D5B83C85@nsi.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: reina@nsi.edu
  Subject: Re: Formatting the output
  In-Reply-To: <37A08915.D5B83C85@nsi.edu>
  References: <37A08915.D5B83C85@nsi.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox