Re: Doing better at HINTing an appropriate column within errorMissingColumn() - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Doing better at HINTing an appropriate column within errorMissingColumn()
Date
Msg-id CAM3SWZSQqjOytZNmtZ7HuduhixikoijF+s=XTUs_=2UW6Pt=yA@mail.gmail.com
Whole thread Raw
In response to Re: Doing better at HINTing an appropriate column within errorMissingColumn()  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Doing better at HINTing an appropriate column within errorMissingColumn()  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On Fri, Mar 28, 2014 at 1:00 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> I see only one risk - it can do some slowdown of exception processing.

I think it's unlikely that you'd see ERRCODE_UNDEFINED_COLUMN in
procedural code like that in practice. In any case it's worth noting
that I continually pass back a "max" to the Levenshtein distance
implementation, which is the current shortest distance observed. The
implementation is therefore not obliged to exhaustively find a
distance that is already known to be of no use. See commit 604ab0.


-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Doing better at HINTing an appropriate column within errorMissingColumn()
Next
From: Pavel Stehule
Date:
Subject: Re: Doing better at HINTing an appropriate column within errorMissingColumn()