X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 6B547D1B8A8 for ; Thu, 4 Sep 2003 20:41:18 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 22347-04 for ; Thu, 4 Sep 2003 17:40:48 -0300 (ADT) Received: from web20805.mail.yahoo.com (web20805.mail.yahoo.com [216.136.226.194]) by svr1.postgresql.org (Postfix) with SMTP id 5B19ED1B8C3 for ; Thu, 4 Sep 2003 17:40:45 -0300 (ADT) Message-ID: <20030904204046.44965.qmail@web20805.mail.yahoo.com> Received: from [208.13.35.65] by web20805.mail.yahoo.com via HTTP; Thu, 04 Sep 2003 13:40:46 PDT Date: Thu, 4 Sep 2003 13:40:46 -0700 (PDT) From: Jeff Eckermann Subject: Re: Change connection (IP, or Databasename) To: edv@rdg-rational.de, pgsql-odbc@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/18 X-Sequence-Number: 3216 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)" 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