public inbox for [email protected]  
help / color / mirror / Atom feed
From: Magnus Hagander <[email protected]>
To: Dmitriy Igrishin <[email protected]>
Cc: Josh Kupershmidt <[email protected]>
Cc: pgsql-docs <[email protected]>
Subject: Re: old testlo example code
Date: Sun, 6 Jan 2013 11:33:05 +0100
Message-ID: <CABUevEyQnjqEEDsjAuAO61mabBLWcK01Pfs=FWO9OT8B7Xxgig@mail.gmail.com> (raw)
In-Reply-To: <CAAfz9KM1xJtwdpfKTrhQy=AXAo3i4ggYuumTrZ9BFRzJCktnkw@mail.gmail.com>
References: <CAK3UJRFL8OD9Me-vPaE=ELPZ5-hFmk_Psa-cF00YfQJ7GNua-w@mail.gmail.com>
	<CABUevEyQbJPA8NW_USk2WD83DaAzV3DNj=FiQmRXZXO2wtqs8g@mail.gmail.com>
	<CAAfz9KM1xJtwdpfKTrhQy=AXAo3i4ggYuumTrZ9BFRzJCktnkw@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>

On Sun, Jan 6, 2013 at 10:12 AM, Dmitriy Igrishin <[email protected]> wrote:
>
>
>
> 2013/1/5 Magnus Hagander <[email protected]>
>>
>> On Sat, Jan 5, 2013 at 3:27 AM, Josh Kupershmidt <[email protected]>
>> 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 ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (7+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: old testlo example code
  In-Reply-To: <CABUevEyQnjqEEDsjAuAO61mabBLWcK01Pfs=FWO9OT8B7Xxgig@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox