From: | Brian Hurt <bhurt(at)janestcapital(dot)com> |
---|---|
To: | Larry McGhaw <lmcghaw(at)connx(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Selecting a constant question |
Date: | 2007-06-12 18:09:02 |
Message-ID: | 466EE13E.9090104@janestcapital.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Larry McGhaw wrote:
>I'm really frustrated by this process I'm not trying to attack anyone
>here. I'm just surprised that no one will even entertain the idea that
>this is an issue that needs to be addressed.
>
>Instead nearly all of the responses have been attacking the applications
>that rely on the metadata.
>
>
Having been following this debate, I think what people have really been
attacking is the idea that the metadata for:
SELECT '1' AS varchar_column;
should be different from the metadata for:
SELECT varchar_column FROM really_big_table;
or for:
SELECT varchar_column FROM really_small_table;
Or at least that's what I've taken away from the dicussion- it's not so
much that the metadata shouldn't be relied on, it's that the metadata
may be more generic than theoretically necessary. And that the metadata
may not contain the length of a variable length field even when that
length is known.
Brian
From | Date | Subject | |
---|---|---|---|
Next Message | Larry McGhaw | 2007-06-12 18:46:33 | Re: Selecting a constant question |
Previous Message | Martijn van Oosterhout | 2007-06-12 17:43:06 | Re: Selecting a constant question |