skip to Main Content

Postgresql – postgres table functions

Hi I have some questions regarding table functions in PostgreSQL From https://www.postgresql.org/docs/16/queries-table-expressions.html#QUERIES-TABLEFUNCTIONS CREATE TABLE foo (fooid int, foosubid int, fooname text); CREATE FUNCTION getfoo(int) RETURNS SETOF foo AS $$ SELECT * FROM foo WHERE fooid = $1; $$ LANGUAGE SQL;…

VIEW QUESTION
Back To Top
Search