If you want to add some new function to postgresql, just check this ducument:
https://www.postgresql.org/docs/current/extend-how.html
------------------ Original ------------------
From: "jacktby" <jacktby@gmail.com>;
Date: Tue, Aug 1, 2023 05:27 PM
To: "pgsql-general"<pgsql-general@lists.postgresql.org>;
Subject: How to build a new grammer for pg?
Hi, I’m trying to develop a new grammar for pg, can you give me a code example to reference?