Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrnXT-0005OI-1w for pgsql-docs@arkaria.postgresql.org; Sun, 06 Jan 2013 10:33:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TrnXS-0007bm-8U for pgsql-docs@arkaria.postgresql.org; Sun, 06 Jan 2013 10:33:10 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrnXR-0007bh-Lx for pgsql-docs@postgresql.org; Sun, 06 Jan 2013 10:33:09 +0000 Received: from mail-we0-f172.google.com ([74.125.82.172]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrnXP-0003SU-3y for pgsql-docs@postgresql.org; Sun, 06 Jan 2013 10:33:08 +0000 Received: by mail-we0-f172.google.com with SMTP id r3so9118638wey.17 for ; Sun, 06 Jan 2013 02:33:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=X4I5f7FVWTvkjhA0b0OtQT0a2Tygzolm7xavaDjzGug=; b=hJnmmMfgt8UBr/iY9547IiYAV0jW/n0U/f6Dkx6ejnB5OYHz+AZvho+eopKOT/PkpP Osyx8BKeAXt8uIE1CILwCMC665sXP54kEs41G0lhfE/QdMFcN8OG5gSbehRZtw6z22WJ f1qNmbJZmMPPrumy29jLdzxQcMs0QCtq3dQ82D9bApRhOLUzNNkn3QExxzH/udEgnWkJ /Dbxn3/jp3WCfp9F23yfz1o2Xbp3Y9mN+0hPQ1juUMx6sbOmkwH6nFdTwYO2lBRilc4K vf4j64uHMHgKoBYOCCH1sNgRaXOdHxxt4Py5u2biqW9a0uYtbJlGHBQKHJy7SVJafIG7 Oe8g== MIME-Version: 1.0 Received: by 10.194.236.68 with SMTP id us4mr91529820wjc.11.1357468385852; Sun, 06 Jan 2013 02:33:05 -0800 (PST) Received: by 10.194.104.41 with HTTP; Sun, 6 Jan 2013 02:33:05 -0800 (PST) In-Reply-To: References: Date: Sun, 6 Jan 2013 11:33:05 +0100 Message-ID: Subject: Re: old testlo example code From: Magnus Hagander To: Dmitriy Igrishin Cc: Josh Kupershmidt , pgsql-docs Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmr95jqYq3lC5f0pqQeKSKcHFJhL3H5e54jWsiFqluyu0ox7cg6sJqvwExdedpdw5x1jlcU X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On Sun, Jan 6, 2013 at 10:12 AM, Dmitriy Igrishin wrote: > > > > 2013/1/5 Magnus Hagander >> >> On Sat, Jan 5, 2013 at 3:27 AM, Josh Kupershmidt >> wrote: >> > This documentation page: >> > http://www.postgresql.org/docs/current/static/lo-examplesect.html >> > >> > contains a hardcoded copy of ./src/test/examples/testlo.c, and it >> > seems like this version hasn't been updated along with its source. The >> > version from the docs no longer compiles for me, at least not when I >> > drop it into the place of the current ./src/test/examples/testlo.c. >> > That's easy enough to fix, though I have a historical question about >> > this code. >> >> ISTM we should either remove the example programs and replace them >> with just a reference, or find a way to include the source code into >> the documentation with some kind of include statement instead of >> haivng a copy of it. That should be done the same way for all the >> example programs, not just the testlo ones of course. >> >> Not sure if it's possible to create such an include though - someone >> who knows our toolchain better can hopefully comment on that? > > I think it's possible with Doxygen. I was referring to the SGML documentation here, so that won't actually help. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs