Re: plpython improvements

Lists: pgsql-patches
From: "Sven Suursoho" <sven(at)spam(dot)pri(dot)ee>
To: pgsql-patches(at)postgresql(dot)org
Subject: plpython improvements
Date: 2006-04-15 14:59:44
Message-ID: op.s7109ur2plgmb3@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

1) named parameters additionally to args[]
2) return composite-types from plpython as dictionary
3) return result-set from plpython as list, iterator or generator

Test script attached (patch-test.sql) but not integrated to plpython
test-suite.

--
Sven Suursoho

Attachment Content-Type Size
patch-test.sql application/octet-stream 263 bytes
functions.sql application/octet-stream 1.8 KB
plpython.patch text/x-patch 11.0 KB

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Sven Suursoho <sven(at)spam(dot)pri(dot)ee>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: plpython improvements
Date: 2006-04-17 12:23:55
Message-ID: 1145276635.3746.1.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Ühel kenal päeval, L, 2006-04-15 kell 17:59, kirjutas Sven Suursoho:
> 1) named parameters additionally to args[]
> 2) return composite-types from plpython as dictionary
> 3) return result-set from plpython as list, iterator or generator
>
> Test script attached (patch-test.sql) but not integrated to plpython
> test-suite.

If you wonder why you can't apply the patch, it is against postgres
8.0.7.

------------
Hannu


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Hannu Krosing <hannu(at)tm(dot)ee>
Cc: Sven Suursoho <sven(at)spam(dot)pri(dot)ee>, pgsql-patches(at)postgresql(dot)org
Subject: Re: plpython improvements
Date: 2006-04-17 16:10:37
Message-ID: 200604171610.k3HGAbA21808@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Hannu Krosing wrote:
> ?hel kenal p?eval, L, 2006-04-15 kell 17:59, kirjutas Sven Suursoho:
> > 1) named parameters additionally to args[]
> > 2) return composite-types from plpython as dictionary
> > 3) return result-set from plpython as list, iterator or generator
> >
> > Test script attached (patch-test.sql) but not integrated to plpython
> > test-suite.
>
> If you wonder why you can't apply the patch, it is against postgres
> 8.0.7.

Can I apply it by merging it in manually, or are you working on a
version against CVS HEAD?

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

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