Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id B7947633B85 for ; Thu, 19 Mar 2009 12:15:37 -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 53923-04 for ; Thu, 19 Mar 2009 12:15:35 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.185]) by mail.postgresql.org (Postfix) with ESMTP id 4E09F63230A for ; Thu, 19 Mar 2009 12:15:33 -0300 (ADT) Received: by ti-out-0910.google.com with SMTP id w4so414225tib.5 for ; Thu, 19 Mar 2009 08:15:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xUKPH95W/bweH5j4Ertm8bb3EGwgR9BZyGb12pJ9pWo=; b=qPpWxjNjJ8y2hIKxClaTOLSeB0fewOGFjonpfjY8kBQvXqT2XIKuGOUWCnE2iDG2kY 8oZyfQg8XhTd3yBxwMIJmFCdt+9pDufHXq7aVTl71W82vY4iomU9uClqP6Qohsup+pSd xUBK+yoF/zpaMq4wR9s+ykiAETQcsphdIEI8M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xAmMWpmVkGCCMzZjW8IDwqbWF3y5wjUf45CZHIW8nsPKzc9o18vNV2sRv2VEHjw8KJ Dx4Bm4UHEm/v8CDFR0ATbRntvfQrUN2vJMqOe0KSFJPifNvGeBwg3NclflTCskEmS4E7 xmZiZprgLr8oLMVY9DfRTU9qNiLD/HLEdCT4E= MIME-Version: 1.0 Received: by 10.110.92.8 with SMTP id p8mr4060922tib.56.1237475731105; Thu, 19 Mar 2009 08:15:31 -0700 (PDT) In-Reply-To: <49C25806.9030505@gmx.net> References: <49C25806.9030505@gmx.net> Date: Fri, 20 Mar 2009 02:15:31 +1100 Message-ID: <37ed240d0903190815v16adf79ble0a4e361f203ed74@mail.gmail.com> Subject: Re: Code snippet hosting? From: Brendan Jurd To: Peter Eisentraut Cc: PostgreSQL WWW Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/152 X-Sequence-Number: 16806 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 genera= l > enough to be worth keeping but perhaps not appropriate for pgfoundry or t= he > documentation. =A0MySQL has a code snippet service for that: > . =A0I think something like this would be = quite > useful for PostgreSQL as well. =A0Perhaps 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. Wouldn't be as fancy as the MySQL site you linked, but it would do the job. Cheers, BJ