| From: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
|---|---|
| To: | John R Pierce <pierce(at)hogranch(dot)com> |
| Cc: | PostgreSQL General <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: tracking scripts... |
| Date: | 2013-11-26 20:45:33 |
| Message-ID: | CAHyXU0zJYUQPhDY+4QFcdG-xwVcWeKLDy1KLxh6SvVYuSLyhww@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Tue, Nov 26, 2013 at 2:38 PM, John R Pierce <pierce(at)hogranch(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Raymond O'Donnell | 2013-11-26 21:20:26 | Re: tracking scripts... |
| Previous Message | John R Pierce | 2013-11-26 20:38:28 | Re: tracking scripts... |