Re: Generating an ANSI compliant schema recreation script

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: J French <hikenboots(at)gmail(dot)com>
Cc: Douglas McNaught <doug(at)mcnaught(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Generating an ANSI compliant schema recreation script
Date: 2005-10-30 00:45:57
Message-ID: 26426.1130633157@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

J French <hikenboots(at)gmail(dot)com> writes:
> I did read the page. Been there done that, ran the script. My question was
> if there was a canned script out there that I didn't have to clean up on the
> fly. This will be an cron job for a convoluted development process.

If your schema isn't using any non-standard features, I would think that
the result of pg_dump would be pretty standard, with the exception of a
few SET commands at the front and the ALTER OWNER commands. (The latter
can be suppressed with --no-owner.) What exactly is giving you a
problem?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message J French 2005-10-30 00:54:01 Re: Generating an ANSI compliant schema recreation script
Previous Message Andreas Seltenreich 2005-10-30 00:06:38 Re: pgsql "info" files?