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

Поиск
Список
Период
Сортировка
От Wen Yi
Тема Re:How can udf c function return table, not the rows?
Дата
Msg-id tencent_9793550AD314C8D2383F373BE94B97E2BA07@qq.com
обсуждение исходный текст
Ответ на How can udf c function return table, not the rows?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-hackers
You're right, thanks!



---Original---
From: "David G. Johnston"<david.g.johnston@gmail.com>
Date: Fri, Jul 19, 2024 21:04 PM
To: "Wen Yi"<wen-yi@qq.com>;
Cc: "pgsql-hackers"<pgsql-hackers@lists.postgresql.org>;
Subject: How can udf c function return table, not the rows?

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 по дате отправления:

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Incremental backup from a streaming replication standby fails
Следующее
От: Joseph Koshakow
Дата:
Сообщение: Re: Remove dependence on integer wrapping