Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGOFc-0007CJ-0h for pgsql-sql@arkaria.postgresql.org; Wed, 18 Aug 2021 16:17:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mGOFa-0008IX-U0 for pgsql-sql@arkaria.postgresql.org; Wed, 18 Aug 2021 16:17:10 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGOFa-0008H5-Ml for pgsql-sql@lists.postgresql.org; Wed, 18 Aug 2021 16:17:10 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGOFY-0000ni-Od for pgsql-sql@lists.postgresql.org; Wed, 18 Aug 2021 16:17:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 17IGH65B1459301; Wed, 18 Aug 2021 12:17:07 -0400 From: Tom Lane To: Sridhar Parepalli cc: pgsql-sql Subject: Re: Backup Functions In-reply-to: References: Comments: In-reply-to Sridhar Parepalli message dated "Wed, 18 Aug 2021 15:05:42 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1459299.1629303426.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 18 Aug 2021 12:17:06 -0400 Message-ID: <1459300.1629303426@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Sridhar Parepalli writes: > I was just wondering should a schema of a database contain functions and= triggering functions does the pg_dump include functions as it takes back = up of the schema? I'm on postgres 11 version. Functions belonging to extensions are not included in pg_dump output, maybe that explains your results? It's hard to be sure without a lot more specifics than you've provided. regards, tom lane