Re: time stops within transaction

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: time stops within transaction
Дата
Msg-id 7229.971924551@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: time stops within transaction  (Alex Pilosov <alex@pilosoft.com>)
Список pgsql-hackers
Alex Pilosov <alex@pilosoft.com> writes:
>> Consider statement boundaries in an SQL function --- the
>> function is probably being called from some outer statement, so
>> advancing now() within the function would violate the spec constraint
>> with respect to the outer statement.
> Postgres doesn't have an idea of what a 'top-level' statement is? I.E.
> statement as submitted by a client (libpq)?

There's never been any reason to make such a distinction.
Nor am I entirely convinced that that's the right definition...
        regards, tom lane


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

Предыдущее
От: Alex Pilosov
Дата:
Сообщение: Re: time stops within transaction
Следующее
От: Bruce Momjian
Дата:
Сообщение: Solaris FAQ