Re: function call

Поиск
Список
Период
Сортировка
От Marcin Krawczyk
Тема Re: function call
Дата
Msg-id CABnqL31_H=UkR1gXMMUN8uGuGyzXsBU3mcA7fPjCVT8FMTK-NQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: function call  (Adrian Klaver <adrian.klaver@aklaver.com>)
Ответы Re: function call  (David G Johnston <david.g.johnston@gmail.com>)
Список pgsql-sql
So it would seem that the issue is with ERP application returning the information.

This probably hinges on what you are defining as returning?

In your function description you note that the function issues documents.

Is that what you are using to determine that the function has completed?

The function makes some calculations, then INSERTs and UPDATEs data (the aforementioned documents) then returns 1 row with 3 columns with information on whether there were any errors or how many documents were created and so on.

 

В списке pgsql-sql по дате отправления:

Предыдущее
От: Marcin Krawczyk
Дата:
Сообщение: Re: function call
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Update Returning as subquery