Re: PL/pgSQL functions - text / varchar - havy performance

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: PL/pgSQL functions - text / varchar - havy performance
Дата
Msg-id 20030829150151.GI19388@libertyrms.info
обсуждение исходный текст
Ответ на Re: PL/pgSQL functions - text / varchar - havy performance  (Bill Moran <wmoran@potentialtech.com>)
Ответы Re: PL/pgSQL functions - text / varchar - havy performance
Список pgsql-performance
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.

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


В списке pgsql-performance по дате отправления:

Предыдущее
От: Bill Moran
Дата:
Сообщение: Re: PL/pgSQL functions - text / varchar - havy performance
Следующее
От: Oliver Siegmar
Дата:
Сообщение: Re: PL/pgSQL functions - text / varchar - havy performance issue?!