Small perf fixes/cleanup in src/backend/utils/adt/like.c...

From: Sean Chittenden <sean(at)chittenden(dot)org>
To: pgsql-patches(at)postgresql(dot)org
Subject: Small perf fixes/cleanup in src/backend/utils/adt/like.c...
Date: 2003-06-23 06:41:16
Message-ID: 20030623064116.GU97131@perrin.int.nxad.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
patch text/plain 4.8 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-06-23 06:57:02 Re: LIKE <subtable> (second attempt)
Previous Message Bruce Momjian 2003-06-23 06:16:05 Re: [PATCHES] Synopsis inconsistencies