Re: Using Temporary Tables in postgres functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Using Temporary Tables in postgres functions
Дата
Msg-id 20030.1169741373@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Using Temporary Tables in postgres functions  (Mario Splivalo <mario.splivalo@mobart.hr>)
Ответы Re: Using Temporary Tables in postgres functions
Список pgsql-sql
Mario Splivalo <mario.splivalo@mobart.hr> writes:
> Am I doing something wrong here, or there is no way of using temporary
> tables within 'sql' written functions?

I believe the problem is that for a SQL function we parse the whole
function body before executing any of it.  So you'd need to split this
into two separate functions.
        regards, tom lane


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Using Temporary Tables in postgres functions
Следующее
От: "Furesz Peter"
Дата:
Сообщение: Looping recordset