Re: FUNCTIONs and CASTs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: FUNCTIONs and CASTs
Дата
Msg-id 655.1203114745@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: FUNCTIONs and CASTs  ("Dean Gibson (DB Administrator)" <postgresql@ultimeth.com>)
Ответы Re: FUNCTIONs and CASTs  ("Dean Gibson (DB Administrator)" <postgresql@ultimeth.com>)
Список pgsql-sql
"Dean Gibson (DB Administrator)" <postgresql@ultimeth.com> writes:
> Again, you are not understanding my point.  My point was that specifying 
> tablename.columnname%TYPE notation doesn't help with the performance 
> problem;  I have to explicitly cast the parameter in the body of the 
> function.

The reason for the lack of communication is that no one else believes
that premise.  Casting a value to the same type it already has is
demonstrably a no-op.
        regards, tom lane


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

Предыдущее
От: Emi Lu
Дата:
Сообщение: Re: String function to Find how many times str2 is in str1?
Следующее
От: "Dean Gibson (DB Administrator)"
Дата:
Сообщение: Re: FUNCTIONs and CASTs