From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Michael Nolan <htfoot(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Declaring a field that is also an out parameter in a function |
Date: | 2024-07-07 14:58:05 |
Message-ID: | CAFj8pRCBb1Jgi7HF40-yrYJcx=csNXaRzf1KEExpiGWop_1d1g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
ne 7. 7. 2024 v 16:37 odesílatel Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> napsal:
> Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> > (2024-07-07 09:27:14) postgres=# select * from
> > plpgsql_check_function('test_function');
> > ┌───────────────────────────────────────────────────────────────┐
> > │ plpgsql_check_function │
> > ╞═══════════════════════════════════════════════════════════════╡
> > │ warning:00000:10:statement block:parameter "d3" is overlapped │
> > │ Detail: Local variable overlap function parameter. │
>
> Nice! FWIW, I think the standard terminology is "local variable
> shadows function parameter".
>
fixed
>
> regards, tom lane
>
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2024-07-07 15:00:51 | Re: Declaring a field that is also an out parameter in a function |
Previous Message | Pavel Stehule | 2024-07-07 14:53:24 | Re: Declaring a field that is also an out parameter in a function |