Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id A6B64635A73 for ; Thu, 19 Mar 2009 12:31:52 -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 57862-02-3 for ; Thu, 19 Mar 2009 12:31:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by mail.postgresql.org (Postfix) with ESMTP id 2D7D863480D for ; Thu, 19 Mar 2009 12:31:33 -0300 (ADT) Received: from perhan.alvh.no-ip.org (200-126-101-194.bk7-dsl.surnet.cl [200.126.101.194]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id n2JFc8li012308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Mar 2009 08:38:13 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 13E9247CE0; Thu, 19 Mar 2009 11:31:20 -0400 (CLT) Date: Thu, 19 Mar 2009 11:31:19 -0400 From: Alvaro Herrera To: Brendan Jurd Cc: Peter Eisentraut , PostgreSQL WWW Subject: Re: Code snippet hosting? Message-ID: <20090319153119.GE8874@alvh.no-ip.org> References: <49C25806.9030505@gmx.net> <37ed240d0903190815v16adf79ble0a4e361f203ed74@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <37ed240d0903190815v16adf79ble0a4e361f203ed74@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Thu, 19 Mar 2009 08:38:15 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/153 X-Sequence-Number: 16807 Brendan Jurd escribió: > On Fri, Mar 20, 2009 at 1:34 AM, Peter Eisentraut wrote: > > People often post a function, a script, or a complex query that is general > > enough to be worth keeping but perhaps not appropriate for pgfoundry or the > > documentation.  MySQL has a code snippet service for that: > > .  I think something like this would be quite > > useful for PostgreSQL as well.  Perhaps the wiki could be used for that; I'm > > not sure. > > Cool idea. With a little massaging the wiki could accomodate this ... > there are syntax highlighting plugins we could install to get the code > snippets looking nice. +1 Just make sure there are appropriate category tags. Maybe we should use a separate namespace for this? Snippet: or something like that ... not sure if this is a good idea. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.