Re: Selecting a constant question
От | Zeugswetter Andreas ADI SD |
---|---|
Тема | Re: Selecting a constant question |
Дата | |
Msg-id | E1539E0ED7043848906A8FF995BDA57902240FD1@m0143.s-mxs.net обсуждение исходный текст |
Ответ на | Re: Selecting a constant question ("Florian G. Pflug" <fgp@phlo.org>) |
Ответы |
Re: Selecting a constant question
Re: Selecting a constant question |
Список | pgsql-hackers |
> Thats exactly the point. Consider > select mytext from mytable ; > > How can PostgreSQL possibly know the maximum length of the > returned values *before* it has scanned the whole table? I think this focuses too much on those cases where it is not possible. When it is not feasible like with a text column, clients deal with it already (obviously some better than others). It is for those cases where it would be feasible, like constants (or concateneted columns), where the max length if properly returned could be used to improve performance. Andreas
В списке pgsql-hackers по дате отправления: