Re: Selecting a constant question: A summary - Mailing list pgsql-hackers

From Chuck McDevitt
Subject Re: Selecting a constant question: A summary
Date
Msg-id EB48EBF3B239E948AC1E3F3780CF8F8802342C5E@MI8NYCMAIL02.Mi8.com
Whole thread Raw
In response to Re: Selecting a constant question: A summary  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Selecting a constant question: A summary  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Selecting a constant question: A summary  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
Just a curiosity question:  Why is the type of a literal '1' "unknown"
instead of varchar(1)?
Wouldn't varchar(1) cast properly to any use of the literal '1'?

What is the benefit of assuming it's an unknown?





pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Selecting a constant question
Next
From: Tom Lane
Date:
Subject: Re: Selecting a constant question: A summary