On Tue, 2006-02-07 at 19:45 -0400, Rodolfo Campos wrote: > I'm getting problems compiling a trigger written in C (exactly the one > from the documentation), when compiling it I get the errore shwoned > here.
This question belongs elsewhere (e.g. pgsql-general) -- -hackers is for development-related discussion. > gcc -I /usr/include/postgresql/server prueba1.c Read: http://www.postgresql.org/docs/8.1/static/xfunc-c.html#DFUNC which tells you to do: cc -fpic -c foo.c cc -shared -o foo.so foo.o -Neil ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend