pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Eckermann <jeff_eckermann@yahoo.com>
To: edv@rdg-rational.de
To: pgsql-odbc@postgresql.org
Subject: Re: Change connection (IP, or Databasename)
Date: Thu, 4 Sep 2003 13:40:46 -0700 (PDT)
Message-ID: <20030904204046.44965.qmail@web20805.mail.yahoo.com> (raw)
In-Reply-To: <CEEKJLBCODIHNDAAIKNHGEPMCAAA.edv@rdg-rational.de>

Not sure what you are asking...  If you want to create
a copy of your production database for
development/testing purposes, the easiest way is:

CREATE DATABASE myseconddatabase WITH TEMPLATE
myfirstdatabase;

Then just create a new DSN pointing to the new
database (or change your code, if you are not using a
DSN).  You would need to relink your tables also.

--- "E. Zorn (RDG-rational)" <edv@rdg-rational.de>
wrote:
> hi,
> I am using Access as a front-end for postgresql via
> ODBC.
> 
> The postgresql-server is hosted on a separate
> linux-computer.
> 
> I like to change the database on the SQL-server for
> developing or
> change the IP of the connected SQL-server so that
> the original data wouldn’t
> be changed.
> 
> Does anybody know a quick and comfortable way to do
> this. I know the
> possibility of importing the whole tables once again
> but they all have a
> header like "public_" which I have than manually to
> change.
> 
> Elmar Zorn
> 
> 
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



view thread (7+ messages)  latest in thread

Message-ID: <20030904204046.44965.qmail@web20805.mail.yahoo.com>
Permalink:  ../20030904204046.44965.qmail@web20805.mail.yahoo.com/
Also on:    postgresql.org/message-id/20030904204046.44965.qmail@web20805.mail.yahoo.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 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-odbc@postgresql.org
  Cc: jeff_eckermann@yahoo.com, edv@rdg-rational.de
  Subject: Re: Change connection (IP, or Databasename)
  In-Reply-To: <20030904204046.44965.qmail@web20805.mail.yahoo.com>
  References: <CEEKJLBCODIHNDAAIKNHGEPMCAAA.edv@rdg-rational.de> <20030904204046.44965.qmail@web20805.mail.yahoo.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