You're right, thanks!
Wen Yi wen...@qq.com ---Original--- From: "David G. Johnston"<david.g.johns...@gmail.com> Date: Fri, Jul 19, 2024 21:04 PM To: "Wen Yi"<wen...@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...@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.