Skip site navigation (1) Skip section navigation (2)

Re: How to register my function into backend?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Bruce YUAN <suanic(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: How to register my function into backend?
Date: 2009-06-30 01:55:56
Message-ID: 603c8f070906291855s18c433f4g6ceefec6eeb8a68f@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Mon, Jun 29, 2009 at 4:53 AM, Bruce YUAN<suanic(at)gmail(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Bruce YUANDate: 2009-06-30 02:10:52
Subject: Re: How to register my function into backend?
Previous:From: Robert HaasDate: 2009-06-30 01:52:54
Subject: Re: Query progress indication - an implementation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group