From: | "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu> |
---|---|
To: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: Migration |
Date: | 2000-08-14 18:41:49 |
Message-ID: | 20000814134149.C8686@rice.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
On Mon, Aug 14, 2000 at 02:08:27PM -0400, John David Garza wrote:
> Hello all,
>
> I've got another question for anybdy that's done Postgres -> Oracle
> migrations. Is there a way for oracle's sqlpls to do a read from <stdin>
> like psql does with the pg_dump files? Or am i going to have to take this
> pg_dump file and replace all the <stdin> lines with INSERT lines?
>
> Or, is there a way for pg_dump to just dump sql only?
Perhaps one of the [dD] options will be of help?
wallace$ pg_dump --help
pg_dump dumps a database as a text file.
Usage:
pg_dump [options] dbname
Options:
-a, --data-only dump out only the data, not the schema
-c, --clean clean (drop) schema prior to create
-C, --create output commands to create database
-d, --inserts dump data as INSERT, rather than COPY, commands
-D, --attribute-inserts dump data as INSERT commands with attribute names
...
Ross
--
Ross J. Reedstrom, Ph.D., <reedstrm(at)rice(dot)edu>
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St., Houston, TX 77005
From | Date | Subject | |
---|---|---|---|
Next Message | Darren King | 2000-08-14 19:04:46 | RE: Migration |
Previous Message | John David Garza | 2000-08-14 18:08:27 | Re: Migration |