Re: SQL-standard function body

Поиск
Список
Период
Сортировка
Искать
От
Vik Fearing
Тема
Re: SQL-standard function body
Дата
Msg-id
61fa89a9-c39f-f780-1bf0-9ff4d387a9da@postgresfriends.org
Ответ на
Список
Дерево обсуждения
SQL-standard function body Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: SQL-standard function body Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: SQL-standard function body Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: SQL-standard function body Michael Paquier <michael@paquier.xyz>
Re: SQL-standard function body Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: SQL-standard function body Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: SQL-standard function body Georgios Kokolatos <gkokolatos@protonmail.com>
Re: SQL-standard function body Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: SQL-standard function body Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: SQL-standard function body Andres Freund <andres@anarazel.de>
Re: SQL-standard function body Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL-standard function body Thomas Munro <thomas.munro@gmail.com>
Re: SQL-standard function body Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL-standard function body Robert Haas <robertmhaas@gmail.com>
Re: SQL-standard function body Stephen Frost <sfrost@snowman.net>
Re: SQL-standard function body Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL-standard function body Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL-standard function body Noah Misch <noah@leadboat.com>
Re: SQL-standard function body Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL-standard function body Justin Pryzby <pryzby@telsasoft.com>
Re: SQL-standard function body Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL-standard function body Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: SQL-standard function body Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL-standard function body Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: SQL-standard function body Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL-standard function body Noah Misch <noah@leadboat.com>
Re: SQL-standard function body Robert Haas <robertmhaas@gmail.com>
Re: SQL-standard function body Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL-standard function body Bruce Momjian <bruce@momjian.us>
Re: SQL-standard function body Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL-standard function body Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL-standard function body Vik Fearing <vik@postgresfriends.org>
Re: SQL-standard function body Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL-standard function body Vik Fearing <vik@postgresfriends.org>
Re: SQL-standard function body Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL-standard function body Vik Fearing <vik@postgresfriends.org>
Re: SQL-standard function body Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL-standard function body Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL-standard function body Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL-standard function body Thomas Munro <thomas.munro@gmail.com>
Re: SQL-standard function body Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL-standard function body Pavel Stehule <pavel.stehule@gmail.com>
On 7/1/20 9:32 PM, Pavel Stehule wrote:
> st 1. 7. 2020 v 20:19 odesílatel Vik Fearing 
> napsal:
> 
>> On 7/1/20 3:36 PM, Robert Haas wrote:
>>> I actually don't have a very clear idea of what the standard has to
>>> say about SQL-language functions. Does it just say it's a list of
>>> statements, or does it involve variables and control-flow constructs
>>> and stuff like that, too?
>>
>>
>> It's either a single sql statement, or a collection of them between
>> "begin atomic" and "end".  There are no variables or flow control
>> constructs or anything like that, just as there are no such things
>> outside of a function.
>>
> 
> What is the source of this comment?


The SQL Standard.


> Maybe we are speaking (and thinking)
> about different languages.


I think so, yes.


> I thought the language of SQL functions (ANSI/SQL) is SQL/PSM.


That is something else entirely, and not at all what Peter's patch is about.
-- 
Vik Fearing


В списке pgsql-hackers по дате отправления
От: Bruce Momjian
Дата:
От: Stephen Frost
Дата:
FAQ