Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cF73l-0002Od-5i for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Dec 2016 22:21:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cF73k-0005bZ-KF for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Dec 2016 22:21:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cF73j-0005au-IQ for pgsql-hackers@postgresql.org; Thu, 08 Dec 2016 22:20:59 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cF73h-0005zM-7V for pgsql-hackers@postgresql.org; Thu, 08 Dec 2016 22:20:58 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id uB8MKu5M010158; Thu, 8 Dec 2016 17:20:56 -0500 From: Tom Lane To: Stephen Frost cc: pgsql-hackers@postgresql.org Subject: Re: pg_dump vs. TRANSFORMs In-reply-to: <20161208215547.GK23417@tamriel.snowman.net> References: <20160504183952.GE10850@tamriel.snowman.net> <20161207200915.GZ23417@tamriel.snowman.net> <729.1481151371@sss.pgh.pa.us> <20161208142116.GC23417@tamriel.snowman.net> <4955.1481209396@sss.pgh.pa.us> <20161208204106.GI23417@tamriel.snowman.net> <8684.1481233229@sss.pgh.pa.us> <20161208215547.GK23417@tamriel.snowman.net> Comments: In-reply-to Stephen Frost message dated "Thu, 08 Dec 2016 16:55:47 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10156.1481235656.1@sss.pgh.pa.us> Date: Thu, 08 Dec 2016 17:20:56 -0500 Message-ID: <10157.1481235656@sss.pgh.pa.us> X-Pg-Spam-Score: -4.9 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Stephen Frost writes: > That's a good point, we might be doing things wrong in other places in > the code by using FirstNormalObjectId on pre-8.1 servers. > What I suggest then is an independent patch which uses a different > variable than FirstNormalObjectId and sets it correctly based on the > version of database that we're connecting to, +1 > and after that's working > correctly for HEAD vs. HEAD-8.0, and 9.6-9.2 vs. 9.6-7.1 (all I was able > to get running within a few hours.. if someone wants to test against > 7.0 or earlier that's fine, or if someone can provide a clean patch to > make 7.0 work for me, that's fine too) and after that looks good and is > committed, I'll rebase this work on that. pg_dump never intended to support pre-7.0 servers. I do have 7.0-7.3 servers in captivity and can do testing if you like. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers