postgres.git / summary / log / commit / refs

commit    5ff683962ef9a953eeb17ea58d678f0c4ca189ae
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Sat Mar 14 21:07:01 2015 +0000
First released in: 9.5.0

    Remove obsolete comment.
    
    Obsoleted by commit 21dcda2713656a7483e3280ac9d2ada20a87a9a9, but I missed
    seeing the cross-reference in the comments for exec_eval_integer().
    
    Also improve the cross-reference in the comments for exec_eval_cleanup().


src/pl/plpgsql/src/pl_exec.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c index 0ad32f72e9a..e332fa07273 100644 --- a/src/pl/plpgsql/src/pl_exec.c +++ b/src/pl/plpgsql/src/pl_exec.c @@ -3219,7 +3219,7 @@ plpgsql_estate_setup(PLpgSQL_execstate *estate, * unless it is a pass-by-value datatype. * * NB: if you change this code, see also the hacks in exec_assign_value's - * PLPGSQL_DTYPE_ARRAYELEM case. + * PLPGSQL_DTYPE_ARRAYELEM case for partial cleanup after subscript evals. * ---------- */ static void @@ -4749,8 +4749,7 @@ exec_get_datum_type_info(PLpgSQL_execstate *estate, * Note we do not do exec_eval_cleanup here; the caller must do it at * some later point. (We do this because the caller may be holding the * results of other, pass-by-reference, expression evaluations, such as - * an array value to be subscripted. Also see notes in exec_eval_simple_expr - * about allocation of the parameter array.) + * an array value to be subscripted.) * ---------- */ static int [parent: 959df4b5fc81]