pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dinesh Bhandary <dbhandary@iii.com>
To: pgsql-admin@postgresql.org
Subject: restore
Date: Tue, 05 Oct 2010 11:08:11 -0700
Message-ID: <4CAB698B.4040402@iii.com> (raw)

  Hi All,

Is there an easy way to restore to a new table where the column name 
have been changed but data remains the same?
For example I am trying to restore from existing system,  table1(col1) 
to table1(col2) and it is erroring out on the new column name even 
though it is a data only restore. I was just wondering if there is a 
quick way to bypass this. Let me know.

Thanks.

Dinesh



view thread (6+ messages)  latest in thread

Message-ID: <4CAB698B.4040402@iii.com>
Permalink:  ../4CAB698B.4040402@iii.com/
Also on:    postgresql.org/message-id/4CAB698B.4040402@iii.com

 · 

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: dbhandary@iii.com
  Subject: Re: restore
  In-Reply-To: <4CAB698B.4040402@iii.com>

* 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