Re: doubt

From: "Sivakumar K" <sivakumark(at)pervasive-postgres(dot)com>
To: <moginmo(at)gmail(dot)com>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: doubt
Date: 2005-08-23 05:22:52
Message-ID: B4AF8C04F762D246A1E38EC5DFAEFC0B04EF81@blrmail2.aus.pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi Mogin,
You can use -I flag to make gcc to find the required header
files
As gcc -I/usr/local/pgsql/include -fpic -c complex.c

Please go through this link.
http://www.postgresql.org/docs/8.0/interactive/libpq-build.html

Regards,
Siva Kumar.K

-----Original Message-----
From: pgsql-novice-owner(at)postgresql(dot)org
[mailto:pgsql-novice-owner(at)postgresql(dot)org] On Behalf Of Mogin Mohandas
Sent: Tuesday, August 23, 2005 12:17 AM
To: pgsql-novice(at)postgresql(dot)org
Subject: [NOVICE] doubt

Hi
I am new to Postgres. I was trying to create a new data type.
There is an eg for creating a type complex under src/tutorial. I went
under the tutorial dir and tried doing a gcc -fpic -c complex.c but it
shows me that the header files postgres.h, fmgr.h are missing. That
means the header files are not being found. By the way, the header
files are in the path...usr/local/pgsql/include/server. How do I get
gcc to find the header files. Anybody having any idea please help.
Thanks
Moginraj

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Browse pgsql-novice by date

  From Date Subject
Next Message Oliver Elphick 2005-08-23 06:07:11 Re: Password Authentication
Previous Message Alex du Plessis 2005-08-23 03:28:39 Created objects not visible