Re: Replace plain-memory ordered array by binary tree in ts_stat() function.

From: Peter Eisentraut <Peter(dot)Eisentraut(at)Sun(dot)COM>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Replace plain-memory ordered array by binary tree in ts_stat() function.
Date: 2008-11-18 13:44:03
Message-ID: 4922C6A3.80300@Sun.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The patch mentioned in the subject leaves this compiler warning:

tsvector_op.c: In function ‘insertStatEntry’:
tsvector_op.c:815: warning: ‘res’ may be used uninitialized in this function

I took a quick look but it is not immediately obvious whether the
compiler might actually have a point here. Could you please fix this?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2008-11-18 13:47:01 Re: toast by chunk-end (was Re: PG_PAGE_LAYOUT_VERSION 5 - time for change)
Previous Message Heikki Linnakangas 2008-11-18 13:31:39 Re: toast by chunk-end (was Re: PG_PAGE_LAYOUT_VERSION 5 - time for change)