Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlila-00061o-KD for pgsql-bugs@arkaria.postgresql.org; Sat, 26 Aug 2017 21:37:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dlilZ-00043M-Qp for pgsql-bugs@arkaria.postgresql.org; Sat, 26 Aug 2017 21:37:17 +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 1dlilZ-00043B-8R for pgsql-bugs@postgresql.org; Sat, 26 Aug 2017 21:37:17 +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 1dlilW-0008NH-O0 for pgsql-bugs@postgresql.org; Sat, 26 Aug 2017 21:37:16 +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 v7QLbCfG012214; Sat, 26 Aug 2017 17:37:12 -0400 From: Tom Lane To: =?utf-8?Q?C=C3=A9dric_Prin-Derre?= cc: "pgsql-bugs@postgresql.org" Subject: Re: issue with C functions using pg_dump In-reply-to: <59a1e754.45b01c0a.8eb03.66cc@mx.google.com> References: <7244.1503776197@sss.pgh.pa.us> <59a1e754.45b01c0a.8eb03.66cc@mx.google.com> Comments: In-reply-to =?utf-8?Q?C=C3=A9dric_Prin-Derre?= message dated "Sat, 26 Aug 2017 23:25:39 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <12212.1503783432.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Sat, 26 Aug 2017 17:37:12 -0400 Message-ID: <12213.1503783432@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org =?utf-8?Q?C=C3=A9dric_Prin-Derre?= writes: > i was hoping to just get the create function code but i do not. > Here s a sample of code not generated : > CREATE OR REPLACE FUNCTION public.uuid_nil() If you're looking for uuid_nil, the reason you're not seeing it is that it's a member of the uuid-ossp extension. pg_dump will emit a CREATE EXTENSION command, not commands for all the individual member objects. You should look into the extension's script file if you want to see the member objects' creation commands. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs