sunpeng <bluevaley@gmail.com> writes:
> hi,i write a function in postgresql source code, how to register this function?
See src/include/catalog/pg_proc.h
But you should *really* consider making it a loadable module. That's the
way it makes sense for any code you want to add in the server unless
you're preparing a patch for PostgreSQL itself, or you're doing a new
Index Access Method that you want crash safe.
Regards,
--
dim