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

From Daniele Varrazzo
Subject [BUGS] Fixed PL/Python hint about array of composites
Date
Msg-id CA+mi_8YOnvOG79vm+XzQ+a5v3TmFM7ynaNiKzMoz-DhPkRT23g@mail.gmail.com
Whole thread Raw
Responses Re: [BUGS] Fixed PL/Python hint about array of composites  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List pgsql-bugs
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: marko@joh.to
Date:
Subject: [BUGS] BUG #14676: neqsel is NULL dumb
Next
From: Daniele Varrazzo
Date:
Subject: Re: [BUGS] Fixed PL/Python hint about array of composites