Re: wrong timezone precision using plpythonu trigger - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: wrong timezone precision using plpythonu trigger
Date
Msg-id 1286904440.23137.4.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: wrong timezone precision using plpythonu trigger  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On mån, 2010-10-11 at 00:13 -0400, Tom Lane wrote:
> It looks to me like this used to work and got broken by this patch:
> http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=3ab8b7fa6f9ac2fb04096f8860261dc42d59a570
>
> which lobotomized plpython to not care about passing the right typmod
> to
> I/O functions.  This is a regression, and it's particularly annoying
> because the other three standard PLs get this case right.  Peter?

Never thought of that, typmods have a tendency to get lost somehow. :-/
Fix looks good; also good to get rid of the useless PLyTypeInfo
argument.

pgsql-bugs by date:

Previous
From: "paulo pillon"
Date:
Subject: BUG #5708: configuration php.ini
Next
From: Rodriguez Fernando
Date:
Subject: Re: Could not open file pg_xlog/000000010....