Re: best way to determine start of new statement within a function?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: best way to determine start of new statement within a function?
Дата
Msg-id 5630.1059108791@sss.pgh.pa.us
обсуждение исходный текст
Ответ на best way to determine start of new statement within a function?  (Joe Conway <mail@joeconway.com>)
Ответы Re: best way to determine start of new statement within  (Joe Conway <mail@joeconway.com>)
Re: best way to determine start of new statement within a function? (resend)  (elein <elein@norcov.com>)
Список pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
> Specifically I'd like to reset a variable within my PL/R interpreter 
> each time a new SQL statement begins.

Define "new SQL statement".  In particular, what of a PL function
executing multiple SQL statements inside an outer SQL statement that
invoked the function?  Unless you've got a clear idea of the semantics
you want, it's not going to be very profitable to discuss
implementations ...
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PostgreSQL 7.4devel - LOG: PGSTAT: socket() failed:
Следующее
От: Peter Eisentraut
Дата:
Сообщение: flex 2.5.31