plpythonu DO support (inline call handler)

Started by Valtonen, Hannuover 16 years ago3 messageshackers
Jump to latest
#1Valtonen, Hannu
hannu.valtonen@hut.fi

Hi,

The attached patch adds support for DO clause in plpythonu. It was
heavily inspired by the plperl and plpgsql inline handler code.

I couldn't figure out how to get added files to show in git diff so the
two files that this patch adds: expected/plpython_do.out and
expected/plpython_do.sql are added as diff -uN 's in plpython_do_sql.diff

- Hannu

ps.
(This is a resend of the patch since I sent it a couple of days ago and
the original message seems to have been lost to the moderation queue so
now I subscribed.)

Attachments:

plpython_do_sql.difftext/plain; name=plpython_do_sql.diff; x-mac-creator=0; x-mac-type=0Download+4-0
plpython_do.difftext/plain; name=plpython_do.diff; x-mac-creator=0; x-mac-type=0Download+72-10
#2Heikki Linnakangas
heikki.linnakangas@enterprisedb.com
In reply to: Valtonen, Hannu (#1)
Re: plpythonu DO support (inline call handler)

Valtonen, Hannu wrote:

I couldn't figure out how to get added files to show in git diff ...

git add <new files>
git add -u # to include modified files in the index
git diff --cached

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

#3Peter Eisentraut
peter_e@gmx.net
In reply to: Valtonen, Hannu (#1)
Re: plpythonu DO support (inline call handler)

On tis, 2009-11-17 at 18:48 +0200, Valtonen, Hannu wrote:

The attached patch adds support for DO clause in plpythonu. It was
heavily inspired by the plperl and plpgsql inline handler code.

committed