Re: [PATCH] Add _PG_init to PL language handler documentation

From: Joshua Tolley <eggyknap(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Jonathan Leto <jaleto(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Add _PG_init to PL language handler documentation
Date: 2010-06-10 03:10:54
Message-ID: 4c1057c0.483fe70a.2b1b.4458@mx.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jun 08, 2010 at 04:18:08PM -0400, Robert Haas wrote:
> On Wed, May 26, 2010 at 11:24 PM, Joshua Tolley <eggyknap(at)gmail(dot)com> wrote:
> > On Wed, May 26, 2010 at 03:47:25PM -0400, Robert Haas wrote:
> >> On Tue, May 25, 2010 at 4:34 AM, Jonathan Leto <jaleto(at)gmail(dot)com> wrote:
> >> > This tiny doc patch adds _PG_init to the skeleton example code for a
> >> > PL. The information is quite valuable to PL authors, who might miss it
> >> > when it is described in the shared library documentation.
> >>
> >> I'm not sure it does much good to add it to the template without any
> >> explanation of what it does.  What might make more sense is to add a
> >> cross-reference to the section on dynamic loading, where this is
> >> documented.
> >
> > +1. How about the attached (which, incidentally, tested successfully on my
> > box, because I've managed to achieve doc building nirvana through blindly
> > flailing about until it worked...)?
>
> I've committed a doc change along these lines, but I thought your
> version was a little wordy and maybe not in the best spot, so I did it
> a bit differently. Hopefully it's good - if not, I can always change
> it again...

You're far from the first to label one of my productions "wordy" :) Your
version suits me fine (btw, in case anyone else is looking for it, it's here:
http://archives.postgresql.org/pgsql-committers/2010-06/msg00060.php)

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Wong 2010-06-10 03:47:26 fix use of posix_fadvise in xlog.c
Previous Message Tom Lane 2010-06-10 02:56:56 Re: InvalidXLogRecPtr in docs