From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Docs for 9.4's worker_spi? |
Date: | 2014-05-06 03:53:09 |
Message-ID: | 20140506035309.GS6018@eldon.alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Robert Haas wrote:
> On Mon, May 5, 2014 at 1:30 PM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> > Seems there is no documentation for the 9.4 worker_spi contrib module. Is
> > this OK? The comment at the top of the C file says:
> >
> > * Sample background worker code that demonstrates various coding
> > * patterns: establishing a database connection; starting and committing
> > * transactions; using GUC variables, and heeding SIGHUP to reread
> > * the configuration file; reporting to pg_stat_activity; using the
> > * process latch to sleep and exit in case of postmaster death.
>
> worker_spi is not new in 9.4; it was added in 9.3 by Alvaro in commit
> da07a1e856511dca59cbb1357616e26baa64428e. I agree that it should be
> documented like all of the other contrib modules,
Uh. It's a code sample. I didn't ever consider documenting it was a
necessity, or I would have done it. I don't think it needs any
documentation now, either (in Docbook form I mean.)
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2014-05-06 04:28:37 | Re: Per table autovacuum vacuum cost limit behaviour strange |
Previous Message | Robert Haas | 2014-05-06 03:47:10 | Re: Docs for 9.4's worker_spi? |