pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martins Zarins <mark@vestnesis.lv>
To: pgsql-admin@postgresql.org
Subject: Re: moving database to production
Date: Sat, 29 Sep 2001 16:26:18 +0300
Message-ID: <3BB5F62A.29917.A3A0A@localhost> (raw)
In-Reply-To: <66d229f1.0109281112.28290f60@posting.google.com>

On 28 Sep 2001, at 12:12, Srinivasa Rao Chava wrote:

> Hi,
> How to move the database from devleopment to production.
> For example, the database is already in production and some of the
> tables required modifications. First those modification were
> implemented in develoment. The modified tables need to be moved to
> production from development,not the complete database. So how to move
> the selective tables in development database to production database.
> Thanks chava

pg_dump -t <new_table> <dev_db> |psql <prod_db>

Mark





view thread (4+ messages)  latest in thread

Message-ID: <3BB5F62A.29917.A3A0A@localhost>
Permalink:  ../3BB5F62A.29917.A3A0A@localhost/
Also on:    postgresql.org/message-id/3BB5F62A.29917.A3A0A@localhost

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mark@vestnesis.lv
  Subject: Re: moving database to production
  In-Reply-To: <3BB5F62A.29917.A3A0A@localhost>
  References: <66d229f1.0109281112.28290f60@posting.google.com> <3BB5F62A.29917.A3A0A@localhost>

* 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