Skip to content

Commit 5ff6839

Browse files
committed
Remove obsolete comment.
Obsoleted by commit 21dcda2, 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().
1 parent 959df4b commit 5ff6839

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/pl/plpgsql/src/pl_exec.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3219,7 +3219,7 @@ plpgsql_estate_setup(PLpgSQL_execstate *estate,
32193219
* unless it is a pass-by-value datatype.
32203220
*
32213221
* NB: if you change this code, see also the hacks in exec_assign_value's
3222-
* PLPGSQL_DTYPE_ARRAYELEM case.
3222+
* PLPGSQL_DTYPE_ARRAYELEM case for partial cleanup after subscript evals.
32233223
* ----------
32243224
*/
32253225
static void
@@ -4749,8 +4749,7 @@ exec_get_datum_type_info(PLpgSQL_execstate *estate,
47494749
* Note we do not do exec_eval_cleanup here; the caller must do it at
47504750
* some later point. (We do this because the caller may be holding the
47514751
* results of other, pass-by-reference, expression evaluations, such as
4752-
* an array value to be subscripted. Also see notes in exec_eval_simple_expr
4753-
* about allocation of the parameter array.)
4752+
* an array value to be subscripted.)
47544753
* ----------
47554754
*/
47564755
static int

0 commit comments

Comments
 (0)