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

Re: SOS, help me please, one problem towards the postgresql developement on windows

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: shieldy <shieldly(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: SOS, help me please, one problem towards the postgresql developement on windows
Date: 2007-04-29 19:53:37
Message-ID: 20070429195337.GC24344@svana.org (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackers
On Mon, Apr 30, 2007 at 01:36:36AM +0800, shieldy wrote:
> >
> >my postgresql source code is at c:/mingw/postgresql and instal to
> >C:/msys/1.0/local/pgsql/
> >I add a function to src\backend\utils\adt\geo_ops.c as the following:

A few things:
- You never did a CREATE FUNCTION so ofcourse the DB doesn't know about
it
- Why are you adding it to the backend? Place it in a module.
- Read the manual on how to create new functions
- look at the examples in the contrib directory.

Have a nice day,
-- 
Martijn van Oosterhout   <kleptog(at)svana(dot)org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

pgsql-hackers by date

Next:From: Martijn van OosterhoutDate: 2007-04-29 19:54:25
Subject: Re: Programming new commands problems.
Previous:From: Akmal AkmalhojaevDate: 2007-04-29 19:37:09
Subject: Programming new commands problems.

pgsql-general by date

Next:From: Martijn van OosterhoutDate: 2007-04-29 20:02:39
Subject: Re: Temporal Units
Previous:From: Rich ShepardDate: 2007-04-29 18:55:16
Subject: Re: DRI in Docs?

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