test: untyped literal in CASE test expr

Started by Neil Conwayover 21 years ago3 messagespatches
Jump to latest
#1Neil Conway
neilc@samurai.com

This trivial patch adds a regression test for CASE expressions that use
an untyped literal in the CASE's test expression. This adds test
coverage for a bug that was fixed by Tom on Jan. 12

I intend to apply this once 8.0.0 is out the door, barring any
objections.

-Neil

Attachments:

case_untyped_literal_test-1.patchtext/x-patch; charset=ISO-8859-1; name=case_untyped_literal_test-1.patchDownload+10-0
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Neil Conway (#1)
Re: test: untyped literal in CASE test expr

Neil Conway <neilc@samurai.com> writes:

This trivial patch adds a regression test for CASE expressions that use
an untyped literal in the CASE's test expression. This adds test
coverage for a bug that was fixed by Tom on Jan. 12
I intend to apply this once 8.0.0 is out the door, barring any
objections.

I had intended to put in something like that myself, but forgot. Feel
free to apply now.

regards, tom lane

#3Neil Conway
neilc@samurai.com
In reply to: Tom Lane (#2)
Re: test: untyped literal in CASE test expr

On Sun, 2005-01-16 at 22:31 -0500, Tom Lane wrote:

I had intended to put in something like that myself, but forgot. Feel
free to apply now.

Applied.

-Neil