Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ay3rR-00060i-Vm for pgsql-hackers@arkaria.postgresql.org; Wed, 04 May 2016 20:57:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ay3rR-0007tZ-IF for pgsql-hackers@arkaria.postgresql.org; Wed, 04 May 2016 20:57:33 +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 1ay3q4-0002j5-W7 for pgsql-hackers@postgresql.org; Wed, 04 May 2016 20:56:09 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ay3q2-0000XW-L0 for pgsql-hackers@postgresql.org; Wed, 04 May 2016 20:56:07 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id CE7AF20A2B for ; Wed, 4 May 2016 16:56:05 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Wed, 04 May 2016 16:56:05 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=13uev0LVJ7sS8hP 1eYAZLHPC+TE=; b=tOkTfkY9ZEGKDNXxWjfX1Y06d2R8oK/wX8vtkJMgZCwbtjv kw6oZYZxJ8qN+5kziiB94nbA51tinf1lMcuG5n/3lpqcKuuKrA0trpfMOmcj9ocm fCufrjY1ddbF+ZQt5qUAE9VKH2fw/JmtfOCxewKZtmZzcTi5etvOMeEavyo8= X-Sasl-enc: kLgd/1XPyHhUteMp7E3fGWQzO2qt2H4tKsQ0Bh09C4Nq 1462395365 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 912AA68028A; Wed, 4 May 2016 16:56:05 -0400 (EDT) Subject: Re: pg_dump vs. TRANSFORMs To: Stephen Frost , pgsql-hackers@postgresql.org References: <20160504183952.GE10850@tamriel.snowman.net> From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <0a288671-29ec-ecdd-d8ae-e0f5c73dcc8d@2ndquadrant.com> Date: Wed, 4 May 2016 16:56:05 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <20160504183952.GE10850@tamriel.snowman.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 On 5/4/16 2:39 PM, Stephen Frost wrote: > These checks are looking for the functions used by the transform in the > list of functions that pg_dump has loaded, but in 9.5, we don't load any > of the function in pg_catalog, and even with my patches, we only dump > the functions in pg_catalog that have an ACL which has been changed from > the default. This issue is not specific to transforms. For example, if you create a user-defined cast using a built-in function, the cast won't be dumped. Obviously, this is a problem, but it needs a more general solution. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers