Skip site navigation (1) Skip section navigation (2)

Re: BUG #5272: PL/Python SELECT: return composite fields as dict, not str

From: Steve White <swhite(at)aip(dot)de>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5272: PL/Python SELECT: return composite fields as dict, not str
Date: 2010-01-31 12:20:25
Message-ID: 20100131122025.GA9797@cashmere.aip.de (view raw or flat)
Thread:
Lists: pgsql-bugs
Hi all,

Robert suggested that I start some documentation about limitations of 
PL/Python.  Find attached.

I think it would also be good to explain the meaning of "trusted" regarding
PL/Python, and how it might impact the user.  There is already some
commented-out doc, and also something in the PL/Perl section. 
Specifically, a user might want to know if it is actually dangerous to
use PL/Python, etc.  If it is dangerous, how, and for whom?  Where should
one be careful?

Cheers!

On 11.01.10, Robert Haas wrote:
> On Mon, Jan 11, 2010 at 11:41 AM, Steve White <swhite(at)aip(dot)de> wrote:
> > I see nothing in the documentation about this
> >        http://www.postgresql.org/docs/8.4/static/plpython.html
> > It only talks about passing composite types into and out of functions.
> >
> > This is an unpleasant discovery for those working to a deadline.  Perhaps a
> > "limitations" section for the doc would be in order.  (You could also list
> > the limitations of PL/Python regarding returning RECORD types.)
> 
> Maybe you could suggest some text, perhaps in the form of a context
> diff against the current sgml files?
> 

-- 
| -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
| Steve White                                             +49(331)7499-202
| e-Science / AstroGrid-D                                   Zi. 35  Bg. 20
| -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
| Astrophysikalisches Institut Potsdam (AIP)
| An der Sternwarte 16, D-14482 Potsdam
|
| Vorstand: Prof. Dr. Matthias Steinmetz, Peter A. Stolz
|
| Stiftung privaten Rechts, Stiftungsverzeichnis Brandenburg: III/7-71-026
| -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -

In response to

Responses

pgsql-bugs by date

Next:From: Steve WhiteDate: 2010-01-31 14:07:20
Subject: REFERENCES misbehaves with inheritance
Previous:From: Tom LaneDate: 2010-01-30 20:13:02
Subject: Re: BUG #5302: WIN1252 encoding causes server memory leak

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group