proposal, patch: allow multiple plpgsql plugins

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: proposal, patch: allow multiple plpgsql plugins
Date: 2014-01-09 22:41:52
Message-ID: CAFj8pRA1HjH6Nn5pfkJaD_ZgexT9XRJzfJzopUbGtkAD3P1R1A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

We talked about enhancing a plpgsql plugin API to support more active
plugins.

I wrote a prototype based on function plpgsql_register_plugin instead
rendezvous variable.

There are two basic questions:

a) will we support rendezvous variable still?

b) will we support same API still - a reference on plugin_info in exec
state is a issue - described in patch.

without a) a d b) we will break a current plugins little bit more than is
usual - not terrible hard to fix it. But without a) and b) a
implementation can be significantly cleaner.

Comments, notes?

Regards

Pavel

Attachment Content-Type Size
multiple-plpgsql-plugins.patch text/x-patch 11.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2014-01-09 23:24:52 Re: Disallow arrays with non-standard lower bounds
Previous Message Oleg Bartunov 2014-01-09 22:32:19 Re: nested hstore patch