Good Morning Emiliano-
since postgres is written in 'C'
and Most of us on this list have programmed in C ..although my experience was 'used in last millenia' if we reference
contrib/query/tsearch2/query.c
when you see statements such as PG_FUNCTION_INFO_V1(tsquery_in);
you are calling a header file at \include\server\fmgr\fmgr.h which is macro-subbing at specifically:
#define PG_FUNCTION_INFO_V1(funcname) \
extern Pg_finfo_record * CppConcat(pg_finfo_,funcname) (void); \ Pg_finfo_record * \ CppConcat(pg_finfo_,funcname) (void) \ { \ static Pg_finfo_record my_finfo = { 1 }; \ return &my_finfo; \ } \ extern int no_such_variable In any case please feel free to ping us for any
questions you might have
It sounds like you have quite a challenge ahead of you Buena Suerte Martin-
|