public inbox for [email protected]
help / color / mirror / Atom feedFrom: Bruce Momjian <[email protected]>
To: Josh Kupershmidt <[email protected]>
Cc: Peter Eisentraut <[email protected]>
Cc: Magnus Hagander <[email protected]>
Cc: pgsql-docs <[email protected]>
Subject: Re: old testlo example code
Date: Tue, 10 Sep 2013 21:03:32 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAK3UJRFJEU1bUjRrxjs2kZcOA=Q+Vu+MPcCGnko+3DS05ZhCTw@mail.gmail.com>
References: <CAK3UJRFL8OD9Me-vPaE=ELPZ5-hFmk_Psa-cF00YfQJ7GNua-w@mail.gmail.com>
<CABUevEyQbJPA8NW_USk2WD83DaAzV3DNj=FiQmRXZXO2wtqs8g@mail.gmail.com>
<[email protected]>
<CAK3UJRFJEU1bUjRrxjs2kZcOA=Q+Vu+MPcCGnko+3DS05ZhCTw@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>
On Tue, Feb 26, 2013 at 08:18:40PM -0700, Josh Kupershmidt wrote:
> On Thu, Feb 14, 2013 at 7:30 PM, Peter Eisentraut <[email protected]> wrote:
> > On Sat, 2013-01-05 at 15:14 +0100, Magnus Hagander wrote:
> >> 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've been looking into this. It's not easily possible with the current
> > SGML setup. (XInclude with XML would probably work.) So for now it
> > would be best if someone could just sync up the docs with the code until
> > we figure out a better way.
>
> OK, here's a patch to update the example code in the docs to match the
> example programs in ./src/test/examples . In addition to the testlo
> example discussed, I updated the libpq examples as well. There's a
> fair amount of whitespace churn in the diff, though I assume that's
> from a pgindent change of the test code at some point.
Patch applied, and tabs converted to 4 spaces. Thanks.
--
Bruce Momjian <[email protected]> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
--
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)
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], [email protected]
Subject: Re: old testlo example code
In-Reply-To: <[email protected]>
* 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