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

From Peter Eisentraut
Subject Re: [BUGS] Fixed PL/Python hint about array of composites
Date
Msg-id 224d1a56-712a-ec1d-906d-de32437c66ca@2ndquadrant.com
Whole thread Raw
In response to Re: [BUGS] Fixed PL/Python hint about array of composites  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List pgsql-bugs
On 5/29/17 12:43, Daniele Varrazzo wrote:
> Just noticed that the sentence is also missing the final full stop.
> New patch attached.

committed

> 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.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

pgsql-bugs by date:

Previous
From: zam6ak@gmail.com
Date:
Subject: [BUGS] BUG #14724: Unable to revoke CREATE privileges on public schema
Next
From: Peter Eisentraut
Date:
Subject: Re: [BUGS] BUG #14718: unable to update table with identity columnGENERATED ALWAYS