Skip site navigation (1) Skip section navigation (2)

Re: [PATCH] Add _PG_init to PL language handlerdocumentation

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 handlerdocumentation
Date: 2010-05-27 03:24:10
Message-ID: 4bfde5dd.483fe70a.61fe.20ea@mx.google.com (view raw or flat)
Thread:
Lists: pgsql-hackers
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...)?

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

In response to

Responses

pgsql-hackers by date

Next:From: Jesper KroghDate: 2010-05-27 05:56:16
Subject: Re: Idea for getting rid of VACUUM FREEZE on cold pages
Previous:From: Tatsuo IshiiDate: 2010-05-27 03:07:58
Subject: pg_trgm

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group