Re: [SQL] Problem with function and trigger...

2005-09-28 Thread Ian Meyer
On 9/28/05, Tom Lane <[EMAIL PROTECTED]> wrote: > Ian Meyer <[EMAIL PROTECTED]> writes: > > IF TG_OP = 'DELETE' AND OLD.deleted = FALSE THEN > > > ERROR: record "old" is not assigned yet > > DETAIL: The tuple structure of a not-yet-assigned record is indeterminate. > > CONTEXT: PL/pgSQL functi

Re: [SQL] Problem with function and trigger...

2005-09-28 Thread Tom Lane
Ian Meyer <[EMAIL PROTECTED]> writes: > IF TG_OP = 'DELETE' AND OLD.deleted = FALSE THEN > ERROR: record "old" is not assigned yet > DETAIL: The tuple structure of a not-yet-assigned record is indeterminate. > CONTEXT: PL/pgSQL function "thread_sync" line 2 at if > What am I failing to under