Re: cmin increments by 2 except in 7.4? - Mailing list pgsql-general

From Neil Conway
Subject Re: cmin increments by 2 except in 7.4?
Date
Msg-id 1107300544.23033.3.camel@localhost.localdomain
Whole thread Raw
In response to Re: cmin increments by 2 except in 7.4?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: cmin increments by 2 except in 7.4?
List pgsql-general
On Tue, 2005-02-01 at 01:53 -0500, Tom Lane wrote:
>         /*
>          * Increment command counter between queries, but not after the
>          * last one.
>          */
>         if (planlist_item != NULL)
>             CommandCounterIncrement();
>
> but planlist_item will *never* be NULL here.  Should be testing
> lnext(planlist_item), I think.  Neil?

Indeed :( One-liner attached, and applied to HEAD and REL8_0_STABLE.

-Neil


Attachment

pgsql-general by date:

Previous
From: Bambero
Date:
Subject: Re: XML-RPC problem with array
Next
From: Thomas F.O'Connell
Date:
Subject: PL/PgSQL, Inheritance, Locks, and Deadlocks