Re: cmin increments by 2 except in 7.4?

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: cmin increments by 2 except in 7.4?
Date: 2005-02-01 23:29:04
Message-ID: 1107300544.23033.3.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
cmin_list_bug-1.patch text/x-patch 718 bytes

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas F.O'Connell 2005-02-01 23:34:32 PL/PgSQL, Inheritance, Locks, and Deadlocks
Previous Message Bambero 2005-02-01 23:22:38 XML-RPC problem with array