Re: pgsql: Fix ancient typo in user-defined-aggregates documentation.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thom Brown <thom(at)linux(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix ancient typo in user-defined-aggregates documentation.
Date: 2011-03-23 17:10:50
Message-ID: 29864.1300900250@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Thom Brown <thom(at)linux(dot)com> writes:
> On 23 March 2011 16:34, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Fix ancient typo in user-defined-aggregates documentation.
>>
>> The description of the initcond value for the built-in avg(float8)
>> aggregate has been wrong since it was written. Noted by Disc Magnet.

> The preceding paragraph says that it typically uses a two-element
> array for the state value. Maybe this should say two or three-element
> given the example that immediately follows it.

Oh, I shouldn't have done that with blinders on :-(. I think probably
we have to explain that float8_accum supports more things than just
average. Will fix as soon as I get back from my doctors appointment.

regards, tom lane

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2011-03-23 19:40:47 pgsql: Minor changes to recovery pause behaviour.
Previous Message Thom Brown 2011-03-23 16:49:31 Re: pgsql: Fix ancient typo in user-defined-aggregates documentation.