Re: [Firebird-devel] CALL statement

2021-06-01 Thread Adriano dos Santos Fernandes
On 01/06/2021 07:59, Alex Peshkoff via Firebird-devel wrote: > On 5/31/21 10:21 PM, Adriano dos Santos Fernandes wrote: > >> >>> As the second, unrelated change, shorten EXECUTE >>> PROCEDURE/STATEMENT/what-else OBJECT to EXEC OBJECT and decide about >>> object type from context - provided it

Re: [Firebird-devel] CALL statement

2021-06-01 Thread Dimitry Sibiryakov
01.06.2021 13:17, Adriano dos Santos Fernandes wrote: things must be extensible - if procedure is changed, already wrote commands should not change their behaviors completely. That's why "RETUNING ()" is the best: it is consistent with the rest of cases. If "already wrote command" is

Re: [Firebird-devel] CALL statement

2021-06-01 Thread Adriano dos Santos Fernandes
On 01/06/2021 08:03, Alex Peshkoff via Firebird-devel wrote: > On 6/1/21 12:51 PM, Dimitry Sibiryakov wrote: >> 31.05.2021 21:21, Adriano dos Santos Fernandes wrote: [ | ( ) ] [ RETURNING_VALUES |    RETURNING_VALUES ( ) |   RETURNING [ INTO ]  ]

Re: [Firebird-devel] CALL statement

2021-06-01 Thread Mark Rotteveel
On 2021-06-01 11:51, Dimitry Sibiryakov wrote: 31.05.2021 21:21, Adriano dos Santos Fernandes wrote:     [ | ( ) ]     [ RETURNING_VALUES |   RETURNING_VALUES ( ) |       RETURNING [ INTO ]  ] This does not support ignore all output in DSQL. There can be syntax "RETURNING

Re: [Firebird-devel] CALL statement

2021-06-01 Thread Alex Peshkoff via Firebird-devel
On 6/1/21 12:51 PM, Dimitry Sibiryakov wrote: 31.05.2021 21:21, Adriano dos Santos Fernandes wrote: [ | ( ) ] [ RETURNING_VALUES |    RETURNING_VALUES ( ) |   RETURNING [ INTO ]  ] This does not support ignore all output in DSQL.   There can be syntax "RETURNING

Re: [Firebird-devel] CALL statement

2021-06-01 Thread Alex Peshkoff via Firebird-devel
On 5/31/21 10:21 PM, Adriano dos Santos Fernandes wrote: As the second, unrelated change, shorten EXECUTE PROCEDURE/STATEMENT/what-else OBJECT to EXEC OBJECT and decide about object type from context - provided it will not raise the hell in btyacc. I do not understood what you mean. Now:

Re: [Firebird-devel] CALL statement

2021-06-01 Thread Dimitry Sibiryakov
31.05.2021 21:21, Adriano dos Santos Fernandes wrote:     [ | ( ) ]     [ RETURNING_VALUES |   RETURNING_VALUES ( ) |       RETURNING [ INTO ]  ] This does not support ignore all output in DSQL. There can be syntax "RETURNING NULL" for that. -- WBR, SD. Firebird-Devel

Re: [Firebird-devel] CALL statement

2021-06-01 Thread Mark Rotteveel
On 2021-05-31 18:34, Dmitry Yemanov wrote: 31.05.2021 17:49, Dimitry Sibiryakov пишет: 31.05.2021 16:19, Alex Peshkoff via Firebird-devel wrote: Dimitry, can you provide standard syntax for others to compare? https://ronsavage.github.io/SQL/sql-2003-2.bnf.html#call%20statement As far as I