I created a new age_date()
function using the following SQL and C code:
SQL:
CREATE FUNCTION ag_catalog.age_date()
RETURNS cstring
LANGUAGE c
STABLE
PARALLEL SAFE
AS 'MODULE_PATHNAME';
C Code:
Datum age_date(PG_FUNCTION_ARGS) {
// Program Logic
}
After stopping and restarting the server, I attempted to run this function within a cypher query. However, I encountered an error stating that the function does not exist.