Re: Informix Schema -> PostgreSQL ?

From: Adam Tauno Williams <adamtaunowilliams(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Informix Schema -> PostgreSQL ?
Date: 2007-07-03 23:35:43
Message-ID: 1183505743.4127.3.camel@aleph.whitemice.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> 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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jaime Casanova 2007-07-04 04:18:14 Re: Informix Schema -> PostgreSQL ?
Previous Message Richard Huxton 2007-07-03 18:57:20 Re: Iterate and write a previous row to a temp table?