Re: PERSISTANT PREPARE (another point of view)

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: PERSISTANT PREPARE (another point of view)
Дата
Msg-id 48854671.6040208@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: PERSISTANT PREPARE (another point of view)  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-sql
Earlier, I wrote:

> Exactly what is gained by the use of persistent prepare over the use of 
> a stored procedure?

Er, ENOCOFFEE. Sorry.

The benefit is obvious with use of global prepared statements at the 
wire protocol level rather than via SQL EXECUTE . It's a lot more 
efficient than EXECUTE or SELECT function(params).

It's pretty clear that there are some tricky aspects though, what with 
schema search paths, role priveleges, etc.

--
Craig Ringer


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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: PERSISTANT PREPARE (another point of view)
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: PERSISTANT PREPARE (another point of view)