Re: PL/pgSQL functions - text / varchar - havy performance
В списке pgsql-performance по дате отправления:
| От | Bill Moran |
|---|---|
| Тема | Re: PL/pgSQL functions - text / varchar - havy performance |
| Дата | |
| Msg-id | 3F4F7275.5030203@potentialtech.com обсуждение исходный текст |
| Ответ на | Re: PL/pgSQL functions - text / varchar - havy performance (Andrew Sullivan <andrew@libertyrms.info>) |
| Ответы |
Re: PL/pgSQL functions - text / varchar - havy performance
|
| Список | pgsql-performance |
Andrew Sullivan wrote: > On Fri, Aug 29, 2003 at 10:46:44AM -0400, Bill Moran wrote: > >>Postgres has to convert the text to a varchar before it can actually >>do anything. It's possible (though I'm not sure) that it has to >>do the conversion with each record it looks at. > > It does? According to the docs, varchar is just syntactic sugar for > text. In fact, text and varchar() are supposed to be exactly the > same. Really? Well, if I'm wrong, I'm wrong. Wouldn't be the first time. Have any explanation as to why that function is so slow? -- Bill Moran Potential Technologies http://www.potentialtech.com
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера