Unix Technical Forum

Re: PL/Python warnings in CVS HEAD

This is a discussion on Re: PL/Python warnings in CVS HEAD within the pgsql Hackers forums, part of the PostgreSQL category; --> Great. Care to take on the Python boolean patch? o Allow PL/PythonU to return boolean rather than 1/0 http://archives.postgresql.org/pgsql...1/msg00596.php ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2008, 09:08 AM
Bruce Momjian
 
Posts: n/a
Default Re: PL/Python warnings in CVS HEAD

Great. Care to take on the Python boolean patch?

o Allow PL/PythonU to return boolean rather than 1/0

http://archives.postgresql.org/pgsql...1/msg00596.php


It requires only a few lines of code, but some testing, which you seem
to have available.

---------------------------------------------------------------------------

Marko Kreen wrote:
> On 4/3/07, Marko Kreen <markokr@gmail.com> wrote:
> > On 4/3/07, Bruce Momjian <bruce@momjian.us> wrote:
> > > Where are we on Python 2.5?

> >
> > I'll look into it.

>
> Following patch converts plpython.c to use Python 2.5 types,
> with compat ifdef for older version. This is recommended
> method by PEP 353 to fix the issue.
>
> Tested with python 2.4.3, 2.5.
>
> --
> marko


[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match


--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-12-2008, 09:08 AM
Marko Kreen
 
Posts: n/a
Default Re: PL/Python warnings in CVS HEAD

On 4/3/07, Bruce Momjian <bruce@momjian.us> wrote:
> Great. Care to take on the Python boolean patch?
>
> o Allow PL/PythonU to return boolean rather than 1/0
>
> http://archives.postgresql.org/pgsql...1/msg00596.php
>
>
> It requires only a few lines of code, but some testing, which you seem
> to have available.


Ok.

--
marko

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:59 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com