Re: Stored Procedure examples
От
Peter Eisentraut
Тема
Re: Stored Procedure examples
Дата
Msg-id
200702151233.13802.peter_e@gmx.net
Ответ на
Re: Stored Procedure examples (Dave Page)
Список
Дерево обсуждения
Stored Procedure examples Vladimir Zelinski <zelvlad@yahoo.com>
Re: Stored Procedure examples "ksherlock@gmail.com" <ksherlock@gmail.com>
Re: Stored Procedure examples Walter Vaughan <wvaughan@steelerubber.com>
Re: Stored Procedure examples Martijn van Oosterhout <kleptog@svana.org>
Re: Stored Procedure examples "Merlin Moncure" <mmoncure@gmail.com>
Re: Stored Procedure examples Peter Eisentraut <peter_e@gmx.net>
Re: Stored Procedure examples Paul Lambert <paul.lambert@autoledgers.com.au>
Re: Stored Procedure examples Paul Lambert <paul.lambert@autoledgers.com.au>
Re: Stored Procedure examples Dave Page <dpage@postgresql.org>
Re: Stored Procedure examples Peter Eisentraut <peter_e@gmx.net>
Re: Stored Procedure examples Dave Page <dpage@postgresql.org>
Re: Stored Procedure examples Peter Eisentraut <peter_e@gmx.net>
Re: Stored Procedure examples Dave Page <dpage@postgresql.org>
Re: Stored Procedure examples Alvaro Herrera <alvherre@commandprompt.com>
Re: Stored Procedure examples Tom Lane <tgl@sss.pgh.pa.us>
Re: Stored Procedure examples Dave Page <dpage@postgresql.org>
Dave Page wrote: > Because PostgreSQL allows return values and IN/OUT/INOUT parameters > on the same routine, we use the first part of the definition only > when making our distinction. > > Source: section 4.27, SQL-invoked Routines in > SWD-02-Foundation-2003-09 That same clause also contains various arguments against pgAdmin's definition. For example, all procedures must be invoked using the CALL statement, which PostgreSQL doesn't have. But that is not the point. If you were writing sqlAdmin, then I'd say you are right. But in PostgreSQL we have made conscious efforts to present all programming interfaces under a uniform "function" label, so I think it does users a disservice if the GUI handles it differently. For that matter, what is supposed to be the practical benefit of this distinction? -- Peter Eisentraut http://developer.postgresql.org/~petere/
В списке pgsql-general по дате отправления