Re: How to add built-in func?
| От | Pavel Stehule |
|---|---|
| Тема | Re: How to add built-in func? |
| Дата | |
| Msg-id | CAFj8pRBn+f_WuFv3f8cj48yyNH9vP=htn+7gxYZFtTz37_VEvg@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: How to add built-in func? (Pavel Stehule <pavel.stehule@gmail.com>) |
| Список | pgsql-hackers |
po 11. 9. 2023 v 18:18 odesílatel Pavel Stehule <pavel.stehule@gmail.com> napsal:
Hipo 11. 9. 2023 v 17:59 odesílatel jacktby jacktby <jacktby@gmail.com> napsal: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?you need to add the function metadata to pg_proc.datFor free oid use unused_oids script
RegardsPavel
В списке pgsql-hackers по дате отправления: