Skip site navigation (1) Skip section navigation (2)

Re: upper() / lower() regression test case needed?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: mike(at)thegodshalls(dot)com, hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: upper() / lower() regression test case needed?
Date: 2004-06-04 13:57:48
Message-ID: 26881.1086357468@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
> Seems like a reasonable thing to submit.

I thought it would be a waste of time (both human and mechanical).
The existing usage of upper/lower in the regression tests is plenty
to detect basic problems.  As for advanced problems, the only
interesting aspect of upper/lower is locale-dependent behavior, which
the main regression tests are singularly unsuited to test for.

It might be interesting to expand src/test/locale/, but that stuff
needs far more work than just addition of upper/lower tests ...

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Greg StarkDate: 2004-06-04 14:25:41
Subject: Re: Converting postgresql.conf parameters to kilobytes
Previous:From: Tom LaneDate: 2004-06-04 13:43:53
Subject: Re: [HACKERS] pg_dump --comment?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group