On Mon, Jun 29, 2009 at 4:53 AM, Bruce YUAN<sua...@gmail.com> wrote: > My function is to collect some backend information for user anlysis. > How to register my function into backend? It make that we can called it via > libpg/PQfn(). > Thanks!
I'm not sure this is -hackers question; seems like -general might be more appropriate. I think you are looking for CREATE OR REPLACE FUNCTION. http://www.postgresql.org/docs/current/static/sql-createfunction.html http://www.postgresql.org/docs/current/static/xfunc.html ...Robert -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers