From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: patch: shared session variables |
Date: | 2012-08-31 12:26:22 |
Message-ID: | CAFj8pRCTX63N5ERXgtg5-=1u93NYAJn2J2jiSLzvgVrMJ3N2Sg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2012/8/31 Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>:
> Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
>> a motivation for this patch was discussion about parametrised DO
>> statement - and simple possibility of access to host variables (psql)
>> variables from server - PL scripts.
>
> Pavel, you didn't say what you think about the WITH FUNCTION proposal?
I don't like it - this proposal is too "lispish" - it is not SQL
>
> And you didn't say how do you want to turn a utility statement into
> something that is able to return a result set.
if we support "real" procedures ala sybase procedures (MySQL, MSSQL..)
- then we can return result with same mechanism - there are no
significant difference between DO and CALL statements - you don't know
what will be result type before you call it.
Regards
Pavel Stehule
>
> Regards,
> --
> Dimitri Fontaine
> http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
From | Date | Subject | |
---|---|---|---|
Next Message | Dirk Lutzebäck | 2012-08-31 13:07:24 | Re: hunspell and tsearch2 ? |
Previous Message | Dimitri Fontaine | 2012-08-31 12:10:46 | Re: patch: shared session variables |