pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sabin Coanda <sabin.coanda@deuromedia.ro>
To: pgsql-admin@postgresql.org
Subject: plain text difference with pg_dump
Date: Thu, 26 Mar 2009 16:53:55 +0200
Message-ID: <gqg4vc$3ut$1@news.hub.org> (raw)

Hi there,

I have two databases DD and DP. DD is used for development, and DP in 
production.
After develop something on DD, a diff package is made and it upgrades DP. 
Normally after that DD has to be identically with DP.

The problem is when I check the structure difference between DD and DP. My 
procedure is to use pg_dump to make a plain text dump of the two databases, 
and compare them, ignoring the comments. All the procedures are sorted 
identically, excepting those with the same name, but different arguments.

Do you know a method to get the same text dump ?

TIA,
Sabin 





view thread (3+ messages)  latest in thread

Message-ID: <gqg4vc$3ut$1@news.hub.org>
Permalink:  ../gqg4vc$3ut$1@news.hub.org/
Also on:    postgresql.org/message-id/gqg4vc$3ut$1@news.hub.org

 · 

reply

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-admin@postgresql.org
  Cc: sabin.coanda@deuromedia.ro
  Subject: Re: plain text difference with pg_dump
  In-Reply-To: <gqg4vc$3ut$1@news.hub.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