From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: problem with plpgsql |
Date: | 2005-06-29 22:34:42 |
Message-ID: | 29581.1120084482@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz> writes:
> Hello
> In my code I evaluate expr
> select array(select generate_series from generate_series(1,800)
> my code
> var = (PLpgSQL_var *) (estate->datums[stmt->varno]);
> value = exec_eval_expr(estate, stmt->expr, &isnull, &valtype);
> exec_eval_cleanup(estate);
> and iteration over array
Uh, once you've done the exec_eval_cleanup, you can't use the result of
exec_eval_expr anymore.
Do I guess correctly that you're trying to do backend development
without having configured --enable-cassert? Bad idea.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-06-29 22:41:19 | Re: Checkpoint cost, looks like it is WAL/CRC |
Previous Message | Andreas 'ads' Scherbaum | 2005-06-29 22:06:42 | Catch the commit |