From: Clayton Cottingham <drfrog@smartt.com>
To: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgreSQL.org>
Subject: Re: [SQL] example of a simple function
Date: Mon, 16 Aug 1999 23:41:51 +0000
Message-ID: <37B8A1BF.9A9EE416@smartt.com> (raw)
References: <199908162320.TAA16541@candle.pha.pa.us>
Bruce Momjian wrote:
> > can some one please send me a skeleton function, one that does nothing
> > but contains
> > all the nessecary components to hook up to pg?
> >
> > id really appreciate this ,as im not really a c/c++ programmer
> > but i really want to learn how to make these functions that call c!
> >
> >
> >
>
> There are examples in src/tutorial, I think.
>
> --
> Bruce Momjian | http://www.op.net/~candle
> maillist@candle.pha.pa.us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
great!
what im trying to do is use fulltextindex, it seg faults on large dbs{mine
is currently up at 130K rows}
i really need something to this effect inn my project!
one question i have is does the *.so have to be in the ld_lib config path?
or can it just sit anywhere and be linked?
i currently just have a folder named modules under the pgsql dir
which i place my c functions in and create the function and set the path to
the lib in that dir, is this the correct procedure for doing this?
also what sort of permissions, if any are needed?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: drfrog@smartt.com, maillist@candle.pha.pa.us
Subject: Re: [SQL] example of a simple function
In-Reply-To: <37B8A1BF.9A9EE416@smartt.com>
References: <199908162320.TAA16541@candle.pha.pa.us> <37B8A1BF.9A9EE416@smartt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox