Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 5C27FB5D80A for ; Wed, 3 Aug 2011 21:08:48 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 22248-02 for ; Thu, 4 Aug 2011 00:08:41 +0000 (UTC) X-Greylist: delayed 00:32:14.635888 by SQLgrey-1.7.6 Received: from unix1.servillianhosting.com (unix1.servillianhosting.com [208.71.168.20]) by mail.postgresql.org (Postfix) with ESMTP id EA68CB5D944 for ; Wed, 3 Aug 2011 21:08:40 -0300 (ADT) Received: from s01060026f32d4ae8.ok.shawcable.net ([24.67.61.104] helo=BradleyHolbrook) by unix1.servillianhosting.com with esmtp (Exim 4.69) (envelope-from ) id 1Qokz8-0001qC-8G for pgsql-admin@postgresql.org; Wed, 03 Aug 2011 16:36:22 -0700 From: "Bradley Holbrook, Servillian Technology" To: Subject: Dump SQL DDL of all functions in DB Date: Wed, 3 Aug 2011 16:35:59 -0700 Message-ID: <044501cc5236$1b376ab0$51a64010$@servillian.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0446_01CC51FB.6EDADCA0" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AcxSNd1WwPrbwFgLSta69U1c2YsJ4A== Content-Language: en-ca X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - unix1.servillianhosting.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - servillian.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201108/43 X-Sequence-Number: 38030 This is a multipart message in MIME format. ------=_NextPart_000_0446_01CC51FB.6EDADCA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Anyone know how to dump the DDL of every function in a schema into one file? Essentially, I'd like to do something like: 'functions ddl dump cmd' public functions.sql Bradley A Holbrook Sr. Web Developer Servillian Technology Ltd http://www.servillian.com bholbrook@servillian.com bholbrook@telus.blackberry.net Cell: (250) 309 - 7408 Office: (250) 260 - 4351 ext. 13 ************************************* For up to the minute news, support notifications and other pertinant information regarding your website or related services, you can use the following resources: Twitter | Facebook | Support Website ------=_NextPart_000_0446_01CC51FB.6EDADCA0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Anyone know how to dump the DDL = of every function in a schema into one file?

 

Essentially, I’d like to = do something like:

 

‘functions ddl dump = cmd’ public functions.sql

 

Bradley A Holbrook

Sr. Web Developer

Servillian Technology Ltd

 

http://www.servillian.com

bholbrook@servillian.com

bholbrook@telus.blackberry.net=

Cell:       (250) 309 – = 7408

Office: (250) 260 – 4351 ext. 13

 

*************************************

For up to the minute news, support notifications and other = pertinant information regarding your website or related services, you = can use the following resources:

 

Twitter | Facebook | Support Website

 

------=_NextPart_000_0446_01CC51FB.6EDADCA0--