Re: Plpsql vs. SQL functions

Поиск
Список
Период
Сортировка
От Alex Pilosov
Тема Re: Plpsql vs. SQL functions
Дата
Msg-id Pine.BSO.4.10.10005232224150.21733-100000@spider.pilosoft.com
обсуждение исходный текст
Ответ на Plpsql vs. SQL functions  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Plpsql vs. SQL functions  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
On Tue, 23 May 2000, Bruce Momjian wrote:

> Is there a reason to keep SQL functions now that we have PL/PgSQL,
> except for backward compatibility?  What do SQL functions do that can
> not be done in PLpgSQL?  Are they faster?

SQL function can return a new tuple. To my knowledge, PLpgSQL cannot.
I hope someone can prove me wrong ;)

-alex



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

Предыдущее
От: "Robert B. Easter"
Дата:
Сообщение: Fwd: Re: SQL3 UNDER
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Plpsql vs. SQL functions