Re: [PATCH] Add missing type conversion functions for PL/Python

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Haozhou Wang <hawang(at)pivotal(dot)io>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Nikita Glukhov <n(dot)gluhov(at)postgrespro(dot)ru>, David Steele <david(at)pgmasters(dot)net>, Anthony Bykov <a(dot)bykov(at)postgrespro(dot)ru>, pgsql-hackers(at)postgresql(dot)org, Paul Guo <pguo(at)pivotal(dot)io>, Hubert Zhang <hzhang(at)pivotal(dot)io>
Subject: Re: [PATCH] Add missing type conversion functions for PL/Python
Date: 2018-10-02 04:42:54
Message-ID: 20181002044254.GR11712@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jul 16, 2018 at 03:35:57PM +0800, Haozhou Wang wrote:
> +1, I also think that we may not change the previous behavior of plpython.
> @Nikita Glukhov <n(dot)gluhov(at)postgrespro(dot)ru> maybe we just check the
> whether pyobject is int or long only in related conversion functions, and
> fallback otherwise?

This patch was around for some time, and the changes in behavior are not
really nice, so this is marked as returned with feedback.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2018-10-02 04:46:13 Re: [PATCH] get rid of StdRdOptions, use individual binary reloptions representation for each relation kind instead
Previous Message Tom Lane 2018-10-02 04:37:49 Re: SerializeParamList vs machines with strict alignment