Re: [GENERAL] Performance PLV8 vs PLPGSQL

Поиск
Список
Период
Сортировка
От Chris Travers
Тема Re: [GENERAL] Performance PLV8 vs PLPGSQL
Дата
Msg-id CAKt_Zfs0Sh=kG_B1C0Vx-ye8cVeqmTRgB23skWiauBNr=ajKgQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Performance PLV8 vs PLPGSQL  (Tim Uckun <timuckun@gmail.com>)
Ответы Re: [GENERAL] Performance PLV8 vs PLPGSQL
Список pgsql-general
My recommendation.  See them as tools in a toolkit, not a question of what is best.

For places where you have SQL statements as primary do SQL or PLPGSQL functions.

For places where you are manipulating values (parsing strings for example) use something else (I usually use pl/perl for string manipulation but ymmv).

PLPGSQL works best where you have a large query and some procedurally supporting logic.  It becomes a lot less usable, performant, and maintainable the further you get away from that.

So there is no best just different tools in a toolkit.

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

Предыдущее
От: Tim Uckun
Дата:
Сообщение: Re: [GENERAL] Performance PLV8 vs PLPGSQL
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: [GENERAL] Performance PLV8 vs PLPGSQL