| From: | Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com> |
|---|---|
| To: | pgsql-bugs <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: Fixed PL/Python hint about array of composites |
| Date: | 2017-05-29 16:43:24 |
| Message-ID: | CA+mi_8YVHy+MgB1w=9GGQ+zTTV35xLuy9BtyW1nX4YcPr9akxw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Just noticed that the sentence is also missing the final full stop.
New patch attached.
On Mon, May 29, 2017 at 5:38 PM, Daniele Varrazzo
<daniele(dot)varrazzo(at)gmail(dot)com> wrote:
> The error message hint suggests [('foo')]. ('foo') is not a valid
> Python tuple: it's a literal with redundant parentheses. ('foo',) is a
> valid tuple.
>
> Patch to correct the hints and an occurrence in the test suite attached.
>
> -- Daniele
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Fixed-hint-about-returning-composite-type-from-Pytho.patch | text/x-patch | 2.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2017-05-29 16:52:19 | Re: BUG #14675: Perfomance Issue after Upgrading from 9.5.3 to 9.6.3 |
| Previous Message | Daniele Varrazzo | 2017-05-29 16:38:59 | Fixed PL/Python hint about array of composites |