Small perf fixes/cleanup in src/backend/utils/adt/like.c... - Mailing list pgsql-patches

From Sean Chittenden
Subject Small perf fixes/cleanup in src/backend/utils/adt/like.c...
Date
Msg-id 20030623064116.GU97131@perrin.int.nxad.com
Whole thread Raw
Responses Re: Small perf fixes/cleanup in src/backend/utils/adt/like.c...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
While doing some review of the LIKE function, I noticed some useless
bits left over from the pre-MB and converting-MB world.  These are
close to no ops, but it removes at least one function call from every
row processed by the LIKE operator, and it seemed like a slight clean
up of some #defines, which helped reduce some clutter.  If someone'd
like, I can clean this up so it's not doing a #include of a .c file,
which seemed a bit hoakey, but with least resistance as the goal, this
patch should stand alone and as it is: all regression tests pass. -sc

--
Sean Chittenden

Attachment

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Synopsis inconsistencies
Next
From: Bruce Momjian
Date:
Subject: Re: LIKE (second attempt)