X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 7C7AED1CAC7 for ; Fri, 12 Mar 2004 22:55:58 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 96481-06 for ; Fri, 12 Mar 2004 18:55:59 -0400 (AST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by svr1.postgresql.org (Postfix) with ESMTP id EC202D1BAD2 for ; Fri, 12 Mar 2004 18:55:55 -0400 (AST) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B1vZM-0002Nt-00 for ; Fri, 12 Mar 2004 23:55:57 +0100 Received: from user161.net479.nc.sprint-hsd.net ([65.40.164.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Mar 2004 23:55:56 +0100 Received: from dbase4 by user161.net479.nc.sprint-hsd.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Mar 2004 23:55:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-odbc@postgresql.org From: "David P. Lurie" Subject: Re: Access 2002 and psqlodbc 7.03.02 Date: Fri, 12 Mar 2004 17:56:00 -0500 Lines: 41 Message-ID: References: <20040311233802.42300.qmail@web20802.mail.yahoo.com> X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: user161.net479.nc.sprint-hsd.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/40 X-Sequence-Number: 3842 "Jeff Eckermann" wrote in message news:20040311233802.42300.qmail@web20802.mail.yahoo.com... > Why? In particular, why do you want to concurrently > run local and server versions of the database? > > No need, if you are using bound forms. On the one > hand you will always have the primary key value handy, > which may help you avoid some error cases. But then > you need a network round trip to get it, for every > insert. I doubt that it's worth the trouble. > Thanks for the help; I'll use bound forms and passthrough queries. The replication question is probably best restated as a backup question: We will just run pg on the main (only) server, which has nightly DAT backup. pg would be available on the Windows boxes for temporary use in case of hardware failure. My thought was to have a pg_dump from the previous evening available, if needed. That should be sufficient for our small office. pg_dump piped through gzip could be run each night as a cron job, then burned to DVD with BackupEdge. BackupEdge would recognize the .gz file as compressed, and perform bit-level verification but not further compression, so readable with tar. The resultant tar archive could be copied to one of the windows boxes, the pg_dump file extracted with cygwin gzip and tar utilities, then loaded into pg for emergency use. Another option would be to copy the gzipped pg_dump file over the network, using a scheduled Windows Backup job or a simple batch file copy with Windows Task Scheduler. The pg_dump file would be written to a directory on the server accessible via Samba. I'm inclined to do both, as very easy to configure. Any thoughts? Thanks, David P. Lurie