Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cF5pF-0007m3-M4 for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Dec 2016 21:01:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cF5pF-0004s7-7h for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Dec 2016 21:01:57 +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 1cF5nr-0003IY-Dd for pgsql-hackers@postgresql.org; Thu, 08 Dec 2016 21:00:31 +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 1cF5np-0004EY-7W for pgsql-hackers@postgresql.org; Thu, 08 Dec 2016 21:00:30 +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 uB8L0SWw007184; Thu, 8 Dec 2016 16:00:28 -0500 From: Tom Lane To: Stephen Frost cc: pgsql-hackers@postgresql.org Subject: Re: pg_dump vs. TRANSFORMs In-reply-to: <20161208204106.GI23417@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> Comments: In-reply-to Stephen Frost message dated "Thu, 08 Dec 2016 15:41:06 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7182.1481230828.1@sss.pgh.pa.us> Date: Thu, 08 Dec 2016 16:00:28 -0500 Message-ID: <7183.1481230828@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: > Ok, thinking a bit more on this and testing, it looks like we record the > initdb-defined casts as 'pinned' in pg_depend all the way back to 7.3. > Therefore, we could use that as the gating factor for getFuncs() instead > of FirstNormalObjectId and then I can also modify getCasts() to exclude > pinned casts, which should fix pg_dump against 8.0 and earlier. Don't really like that; won't it make the getFuncs query substantially more expensive? 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