Re: LIKE gripes - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: LIKE gripes
Date
Msg-id 398E2E40.7BD1F9A4@alumni.caltech.edu
Whole thread Raw
In response to LIKE gripes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> > OK, will look at it. The first ones I see here; the second I'm not sure
> > I do. Will see what other files have for #include's.
> I think <ctype.h> is what's needed here.

OK, I've updated builtins.h and like.c to eliminate compiler warnings,
and updates the strings.out regression test result file. I've also
updated the like support code to

1) eliminate a gratuitous case statement (actually, two) in favor of an
if/elseif/else construct.

2) eliminate the extraneous backslash quoting code for like() functions
only. As I mentioned in the cvs note, this behavior can be put back in
if we really want it by replacing a NULL with a "\" in two function
calls.
                  - Thomas


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: LIKE gripes
Next
From: Hannu Krosing
Date:
Subject: Re: Re: scp daemon working?