On Mon, 2013-05-06 at 17:17 +0200, Dimitri Fontaine wrote: > Peter Eisentraut <pete...@gmx.net> writes: > > At this point, all that is appropriate is some documentation of the C > > API. If the contrib example you have in mind is short enough, it might > > as well become part of the example in the documentation. > > Please find attached a patch against the documentation, containing a > full code example of what I had in mind. The contrib would only be > useful to include if we want to ship something usable. > > As you might want to tinker with the code in the docs patch and easily > check that it still runs, I include another patch with the new contrib > module. I don't expect that to get commited, of course, but I had to do > it to check the code so I'd better just share it, right?
Looks pretty good, but the description of the parsetree field was obviously copied from somewhere else. I would fix it myself, but I don't know what kind of assurances we want to offer about what's in that field. -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers