Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 00E00633F10 for ; Fri, 30 Apr 2010 15:40:03 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 89099-02-7 for ; Fri, 30 Apr 2010 18:39:54 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 7FE756334F0 for ; Fri, 30 Apr 2010 15:39:54 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o3UIdfqe013388; Fri, 30 Apr 2010 14:39:43 -0400 (EDT) To: weigelt@metux.de cc: pgsql-admin Subject: Re: dump diffs even w/o db changes In-reply-to: <20100430161443.GA24971@nibiru.local> References: <20100430161443.GA24971@nibiru.local> Comments: In-reply-to Enrico Weigelt message dated "Fri, 30 Apr 2010 18:14:45 +0200" Date: Fri, 30 Apr 2010 14:39:41 -0400 Message-ID: <13387.1272652781@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.852 tagged_above=-10 required=5 tests=AWL=0.058, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201004/373 X-Sequence-Number: 34467 Enrico Weigelt writes: > I'm doing regular (hourly) dumps and putting them into git > (and automatically pushing it to several git servers). > The problem is: the dumps are always differing (even if nothing > happened in that db). > CREATE TEMPORARY TABLE pgdump_oid (dummy integer) WITH OIDS; > COPY pgdump_oid WITH OIDS FROM stdin; > -22336387 0 > Is there any way to get rid of these differences ? (1) don't specify --oids or (2) update to something newer than 8.0 ... we haven't emitted that for a long time. regards, tom lane