From: Adam Tauno Williams <adamtaunowilliams@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: Informix Schema -> PostgreSQL ?
Date: Tue, 03 Jul 2007 19:35:43 -0400
Message-ID: <1183505743.4127.3.camel@aleph.whitemice.org> (raw)
In-Reply-To: <468A8C08.1060803@g2switchworks.com>
References: <468A77B6.2070706@noaa.gov>
<468A8C08.1060803@g2switchworks.com>
> pg_dump dbname -s -t tableorindexname
[Also an Informix DBA] Is there a way to tweak the output of pg_dump
when used in this manner to omit the verbose commentary.
$ pg_dump OGo -s -t enterprise
....
--
-- Name: unique_enterprise_login; Type: INDEX; Schema: public; Owner:
OGo; Tablespace:
--
CREATE UNIQUE INDEX unique_enterprise_login ON enterprise USING btree
("login");
The "--" lines just eats up screen real estate.
--
Adam Tauno Williams, Network & Systems Administrator
Consultant - http://www.whitemiceconsulting.com
Developer - http://www.opengroupware.org
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: adamtaunowilliams@gmail.com
Subject: Re: Informix Schema -> PostgreSQL ?
In-Reply-To: <1183505743.4127.3.camel@aleph.whitemice.org>
* 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