How can udf c function return table, not the rows?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема How can udf c function return table, not the rows?
Дата
Msg-id CAKFQuwZbZ-j47uwOcYRquLcd0JzjkuRHtEMTF+HYH-FLmV+zYQ@mail.gmail.com
обсуждение исходный текст
Ответ на How can udf c function return table, not the rows?  ("Wen Yi" <wen-yi@qq.com>)
Список pgsql-hackers
On Thursday, July 18, 2024, Wen Yi <wen-yi@qq.com> wrote:

                          pg_get_functiondef                          
----------------------------------------------------------------------

In my expectations, it should be:

 oid  |                           pg_get_functiondef                           
------+------------------------------------------------------------------------

Can someone give my some advice?


Write:

Select * from function_call()

Instead of

Select function_call() 

Guessing a bit since you never did show the first query.

David J.

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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Add new COPY option REJECT_LIMIT
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Can we use parallel workers to create index without active/transaction snapshot?