Re: Choosing Between PL/PGSQL or C/C++ for Triggers/Store

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Choosing Between PL/PGSQL or C/C++ for Triggers/Store
Дата
Msg-id 20030613150030.GA16756@wolff.to
обсуждение исходный текст
Ответ на Re: Choosing Between PL/PGSQL or C/C++ for Triggers/Store  (Robert Treat <xzilla@users.sourceforge.net>)
Список pgsql-general
On Thu, Jun 12, 2003 at 16:49:01 -0400,
  Robert Treat <xzilla@users.sourceforge.net> wrote:
>
> Generally I'd say no, *if performance is the issue*. The main case
> (imho) you'd want to use plpgsql or sql functions is becuase they are a
> lot easier to write and maintain. If you don't care about that (and your
> skill level with C might be such that you don't) then C functions are
> the way to go.

sql functions are inlined in 7.4, so they may be faster than c functions
under many circumstances.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] SAP and MySQL ... [and Benchmark]
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: tsearch - v2 new dict