| From: | Kenneth Downs <ken(at)secdat(dot)com> |
|---|---|
| To: | Jessica M Salmon <jmsalmon(at)fs(dot)fed(dot)us> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: loop with circular updates |
| Date: | 2006-07-26 14:50:39 |
| Message-ID: | 44C7813F.8040803@secdat.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Jessica M Salmon wrote:
>Hi All.
>
>I'm writing a plpgsql function that creates a table and loops over the
>items in that table, using a FOR ... IN EXECUTE ... loop. The thing is, on
>each iteration I update the table over which I am looping. Sometimes, the
>result of this update makes it no longer necessary/desirable to process
>subsequent records in the loop.
>
>
Can you tell us more about the app? Sounds like an ERP allocation or
something like that.
| Attachment | Content-Type | Size |
|---|---|---|
| ken.vcf | text/x-vcard | 186 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kenneth Downs | 2006-07-26 14:59:35 | Re: Constraint on an aggregate? (need help writing trigger, |
| Previous Message | Merlin Moncure | 2006-07-26 13:54:40 | Re: sequences vs oids as primary keys |