diff options
| author | Michael Paquier | 2019-07-22 01:01:50 +0000 |
|---|---|---|
| committer | Michael Paquier | 2019-07-22 01:01:50 +0000 |
| commit | 23bccc823d434d9dcf3c12622fe260d9235baae2 (patch) | |
| tree | a966eef34e7f33cf1ce9c729d3f423a5b5b9389d /src/pl | |
| parent | e1a0f6a983068675813074847e1d0d61bd37ac0e (diff) | |
Fix inconsistencies and typos in the tree
This is numbered take 7, and addresses a set of issues with code
comments, variable names and unreferenced variables.
Author: Alexander Lakhin
Discussion: https://postgr.es/m/dff75442-2468-f74f-568c-6006e141062f@gmail.com
Diffstat (limited to 'src/pl')
| -rw-r--r-- | src/pl/plpgsql/src/pl_gram.y | 2 | ||||
| -rw-r--r-- | src/pl/tcl/pltcl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pl/plpgsql/src/pl_gram.y b/src/pl/plpgsql/src/pl_gram.y index dea95f42308..a82930e81d9 100644 --- a/src/pl/plpgsql/src/pl_gram.y +++ b/src/pl/plpgsql/src/pl_gram.y @@ -3691,7 +3691,7 @@ plpgsql_sql_error_callback(void *arg) internalerrposition(myerrpos + errpos - cbarg->leaderlen - 1); } - /* In any case, flush errposition --- we want internalerrpos only */ + /* In any case, flush errposition --- we want internalerrposition only */ errposition(0); } diff --git a/src/pl/tcl/pltcl.c b/src/pl/tcl/pltcl.c index eecd2032d87..b318854d6c2 100644 --- a/src/pl/tcl/pltcl.c +++ b/src/pl/tcl/pltcl.c @@ -1634,7 +1634,7 @@ compile_pltcl_function(Oid fn_oid, Oid tgreloid, /************************************************************ * prefix procedure body with - * upvar #0 <internal_procname> GD + * upvar #0 <internal_proname> GD * and with appropriate setting of arguments ************************************************************/ Tcl_DStringAppend(&proc_internal_body, "upvar #0 ", -1); |
