Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Sat, 29 Oct 2005 20:45:57 -0400
  • Message-id: <26426.1130633157@sss.pgh.pa.us> <text/plain>

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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group