Re: splitting plpython into smaller parts - Mailing list pgsql-hackers

From Jan Urbański
Subject Re: splitting plpython into smaller parts
Date
Msg-id 4EDD5A98.3000506@wulczer.org
Whole thread Raw
In response to Re: splitting plpython into smaller parts  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: splitting plpython into smaller parts  (Peter Eisentraut <peter_e@gmx.net>)
Re: splitting plpython into smaller parts  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Rebased against master after the SPI cursor patch has been committed.

The first patch removes SPI boilerplate from the cursor functions as
well and the second patch creates a plpython_cursor.c file.

A side effect of creating a separate file for cursors is that I had to
make PLy_spi_transaction_{begin,commit,abort} helper functions external
since they're used both by regular SPI execution functions and the
cursor functions.

They live the plpython_spi.c which is not an ideal place for them, but
IMHO it's not bad either.

Cheers,
Jan

Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64
Next
From: Robert Haas
Date:
Subject: pull_up_simple_subquery