# pg\_graphql: Postgres functions now supported

DevFeed: [pg\_graphql: Postgres functions now supported](<https://devfeed.tech/articles/pg-graphql-postgres-functions-now-supported-482.md>)

Original publisher: [Read original article](<https://supabase.com/blog/pg-graphql-postgres-functions>)

Author: Oliver Rice

Published: 2023-12-12T07:00:00Z

Content type: tutorial

Language: en

Sources: [Supabase Blog](<https://devfeed.tech/sources/supabase-blog.md>)

Topics: [GraphQL](<https://devfeed.tech/topics/graphql.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Supabase](<https://devfeed.tech/topics/supabase.md>), [API](<https://devfeed.tech/topics/api.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [database](<https://devfeed.tech/tags/database.md>), [filter](<https://devfeed.tech/tags/filter.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [sorting](<https://devfeed.tech/tags/sorting.md>), [sql](<https://devfeed.tech/tags/sql.md>)

## AI overview

Supabase GraphQL 1.4 and later supports Postgres functions, also known as User Defined Functions (UDFs). The article explains how SQL functions are reflected into a GraphQL schema, exposed as entry points, and used for custom server-side operations. It also covers return types, pagination, filtering, sorting, relationships, and current limitations.

## Source excerpt

pg_graphql now supports the most requested feature: Postgres functions a.k.a. User Defined Functions (UDFs)