How to add built-in func?

From: jacktby jacktby <jacktby(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: How to add built-in func?
Date: 2023-09-11 14:52:53
Message-ID: D566CD0A-4D76-4555-ABA3-BB7F07DF0EF2@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I only add below:

Datum fake_dinstance2(PG_FUNCTION_ARGS)
{
PG_RETURN_INT16(0);
}
in src/backend/utils/adt/int8.c, and the I run “make install”,
But I can’t find the fake_distance2 in src/backend/utils/fmgrtab.c which is
generated by src/backend/utils/Gen_fmgrtab.pl. What else do I need to add?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gabriele Bartolini 2023-09-11 14:59:02 Re: Possibility to disable `ALTER SYSTEM`
Previous Message Magnus Hagander 2023-09-11 14:04:40 Re: Possibility to disable `ALTER SYSTEM`