Re: poc - possibility to write window function in PL languages

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Zhihong Yu <zyu(at)yugabyte(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: poc - possibility to write window function in PL languages
Date: 2021-01-20 20:07:17
Message-ID: 784188.1611173237@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> The second question is work with partition context value. This should be
> only one value, and of only one but of any type per function. In this case
> we cannot use GET statements. I had an idea of enhancing declaration. Some
> like

> DECLARE
> pcx PARTITION CONTEXT (int); -- read partition context
> BEGIN
> pcx := 10; -- set partition context

> What do you think about it?

Uh, what? I don't understand what this "partition context" is.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2021-01-20 20:14:27 Re: poc - possibility to write window function in PL languages
Previous Message Robert Haas 2021-01-20 19:44:11 Re: strange error reporting