Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id CD7B2634F4A for ; Thu, 19 Mar 2009 14:06:30 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 80966-09 for ; Thu, 19 Mar 2009 14:06:24 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from westnet.com (westnet.com [216.187.52.2]) by mail.postgresql.org (Postfix) with ESMTP id 46F2D63299E for ; Thu, 19 Mar 2009 14:06:25 -0300 (ADT) Received: from westnet.com (localhost [127.0.0.1]) by westnet.com (8.14.0/8.14.0) with ESMTP id n2JH6K1J025097; Thu, 19 Mar 2009 13:06:20 -0400 (EDT) Received: from localhost (gsmith@localhost) by westnet.com (8.14.0/8.13.2/Submit) with ESMTP id n2JH6JRo025094; Thu, 19 Mar 2009 13:06:19 -0400 (EDT) X-Authentication-Warning: westnet.com: gsmith owned process doing -bs Date: Thu, 19 Mar 2009 13:06:19 -0400 (EDT) From: Greg Smith X-X-Sender: gsmith@westnet.com To: Brendan Jurd cc: Alvaro Herrera , Peter Eisentraut , PostgreSQL WWW Subject: Re: Code snippet hosting? In-Reply-To: <37ed240d0903190841p46e9e2f4k7a9915a3ccf76fc9@mail.gmail.com> Message-ID: References: <49C25806.9030505@gmx.net> <37ed240d0903190815v16adf79ble0a4e361f203ed74@mail.gmail.com> <20090319153119.GE8874@alvh.no-ip.org> <37ed240d0903190841p46e9e2f4k7a9915a3ccf76fc9@mail.gmail.com> User-Agent: Alpine 2.01 (GSO 1184 2008-12-16) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=AWL=0.000 X-Spam-Level: X-Archive-Number: 200903/163 X-Sequence-Number: 16817 On Fri, 20 Mar 2009, Brendan Jurd wrote: > So, anybody got a useful code snippet they would like to volunteer as > a first test subject? The snippet I use the most is already on the Wiki in the admin section: http://wiki.postgresql.org/wiki/Disk_Usage I was recently poking at the now defunct PostgreSQL CookBook: http://web.archive.org/web/20031207045017/http://www.brasileiro.net/postgres/cookbook/ Two problems with grabbing a bunch of those: the licensing is unclear for code submissions to that old site, and not everything will still work against a current release. But it does suggest some useful categorization for organizing a collection of snippets. -- * Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD