Re: [GENERAL] Missing magic block

2007-04-23 Thread Brad Buran
Hi Martijn, Thank you very much for the suggestion: > > CREATE FUNCTION add_one(IN int) > > RETURNS int > > AS 'add_one' > > LANGUAGE C; I corrected this to say: AS 'Project1', 'add_one' And restarted psql (rebooted for that matter as well) and am still getting the same err

[GENERAL] Missing magic block

2007-04-22 Thread Brad Buran
I'm trying to learn how to write custom extensions to postgres so wrote a basic C function to see how it works. However, I keep getting the following error "Missing magic block" when I try to add the function to the database. According to the documentation in the manual, all I need to do is add th