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 63CACD1B8B7 for ; Fri, 5 Sep 2003 13:26:44 +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 36918-02 for ; Fri, 5 Sep 2003 10:26:37 -0300 (ADT) Received: from serdyn (7xxxx7.redshift.co.za [66.8.87.226]) by svr1.postgresql.org (Postfix) with SMTP id 2943AD1B8E8 for ; Fri, 5 Sep 2003 10:26:30 -0300 (ADT) X-Flags: 1000 Received: (qmail 12253 invoked by uid 65534); 5 Sep 2003 07:24:35 -0000 Received: from 215.commandprompt.com (EHLO hosting.commandprompt.com) (207.173.200.215) by mx0.gmx.net (mx014-rz3) with SMTP; 05 Sep 2003 09:24:35 +0200 Received: from postgresql.org (svr1.postgresql.org [64.117.224.193]) by hosting.commandprompt.com (8.11.6/8.11.6) with ESMTP id h857IZI20349; Fri, 5 Sep 2003 00:21:24 -0700 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 67165D1B97C for ; Fri, 5 Sep 2003 07:18:21 +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 04207-10 for ; Fri, 5 Sep 2003 04:17:51 -0300 (ADT) Received: from mail.rdg-rational.de (unknown [213.170.188.34]) by svr1.postgresql.org (Postfix) with ESMTP id 5F94DD1B8C9 for ; Fri, 5 Sep 2003 04:17:48 -0300 (ADT) Received: from bank (unknown [192.168.0.250]) by mail.rdg-rational.de (rdg rational eMail Server 2.0) with SMTP id 6C0536340AA; Fri, 5 Sep 2003 09:17:51 +0200 (CEST) Reply-To: From: "E. Zorn (RDG-rational) postsql" To: "Jeff Eckermann" , Subject: Re: Change connection (IP, or Databasename) Date: Fri, 5 Sep 2003 09:17:52 +0200 Message-ID: <19658898.1062768066062.JavaMail.Administrator@serdyn> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20030904204046.44965.qmail@web20805.mail.yahoo.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Mailing-List: pgsql-odbc Precedence: bulk X-GMX-Antivirus: -1 (not scanned, may not use virus scanner) X-GMX-Antispam: 0 (Mail was not recognized as spam) X-fetched-from: gmx.net X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=2.4 tagged_above=0.0 required=5.0 tests=BAYES_30, FORGED_MUA_OIMO, IN_REP_TO, RCVD_IN_OSIRUSOFT_COM, X_MAILING_LIST X-Spam-Level: ** X-Archive-Number: 200309/23 X-Sequence-Number: 3221 hi again, I do so, but exact the relinking of the database is the problem. I the new result of the frontend is ready for using in production environment, I always have to relink / reconnect the frontend to the "on air" database. In my frontend I use the tables without the header "public_" witch is provided from the server. I now have to relink all the tables and after that I have to rename the tables (erase the "public_"). This takes a long time (lot's of tables :-) ), isn't there a shorter method ? thanks -----Ursprungliche Nachricht----- Von: Jeff Eckermann [mailto:jeff_eckermann@yahoo.com] Gesendet: Donnerstag, 4. September 2003 22:41 An: edv@rdg-rational.de; pgsql-odbc@postgresql.org Betreff: Re: [ODBC] Change connection (IP, or Databasename) 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 wouldnt > 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 ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org