Re: [PATCH] backend: compare word-at-a-time in bcTruelen - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: [PATCH] backend: compare word-at-a-time in bcTruelen
Date
Msg-id 1245310388.3895.163.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: [PATCH] backend: compare word-at-a-time in bcTruelen  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [PATCH] backend: compare word-at-a-time in bcTruelen
List pgsql-hackers
On Tue, 2009-06-16 at 00:24 -0400, Robert Haas wrote:

> There's not much point taking the length of the word

Not sure why we need to be calculating the length here anyway. ISTM that
there is no need to reconfirm the length of the data, since it is
already checked to be that length at insert.

Why is bcTruelen being called so many *more* times?

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: GRANT ON ALL IN schema
Next
From: Fujii Masao
Date:
Subject: typos in source comment