Re: Proposal: is_castable

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Proposal: is_castable
Дата
Msg-id CAFj8pRBHig4HD4dVhH1PffixX4pcaL2E5jvfqs022cNABKLt6A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Proposal: is_castable  (Adam Brusselback <adambrusselback@gmail.com>)
Список pgsql-hackers
Hi


So it's a two step process for me currently because of this, I would love if there was a better way to handle 
this type of work though, because my plpgsql functions using exception blocks are not exactly great 
for performance.

Probably we can for some important buildin types write method "is_valid", and this method can be called directly. For custom types or for types without this method, the solution based on exceptions can be used.

This should not be too much code, and can be fast for often used types.

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: proposal \gcsv
Следующее
От: Petr Jelinek
Дата:
Сообщение: Re: backup manifests and contemporaneous buildfarm failures