Re: [BUGS] Fixed PL/Python hint about array of composites - Mailing list pgsql-bugs

From Daniele Varrazzo
Subject Re: [BUGS] Fixed PL/Python hint about array of composites
Date
Msg-id CA+mi_8YVHy+MgB1w=9GGQ+zTTV35xLuy9BtyW1nX4YcPr9akxw@mail.gmail.com
Whole thread Raw
In response to [BUGS] Fixed PL/Python hint about array of composites  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Responses Re: [BUGS] Fixed PL/Python hint about array of composites  (Heikki Linnakangas <hlinnaka@iki.fi>)
Re: [BUGS] Fixed PL/Python hint about array of composites  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List 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.varrazzo@gmail.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

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Attachment

pgsql-bugs by date:

Previous
From: Daniele Varrazzo
Date:
Subject: [BUGS] Fixed PL/Python hint about array of composites
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14675: Perfomance Issue after Upgrading from 9.5.3 to 9.6.3