Re: tracking scripts...

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: tracking scripts...
Дата
Msg-id CAHyXU0zJYUQPhDY+4QFcdG-xwVcWeKLDy1KLxh6SvVYuSLyhww@mail.gmail.com
обсуждение исходный текст
Ответ на Re: tracking scripts...  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
On Tue, Nov 26, 2013 at 2:38 PM, John R Pierce <pierce@hogranch.com> wrote:
> On 11/26/2013 12:30 PM, Merlin Moncure wrote:
>>
>> There are not many ways to Hand off information outside of the
>> database while a transaction Is running. one way Is to write a Simple
>> trigger in plpgsql that 'raise'es A notice every 'n' times trigger
>> condition fires.  that'S Essentially the only Clean way to do it in
>> such a way that the information is Returned to the Executing console.
>> Thanks!
>
>
> how would that trigger track N?

A couple of different ways.  Easiest would just be to manage a sequence.

merlin


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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: tracking scripts...
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: tracking scripts...