<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Georgia size=2>Hi there,</FONT></DIV>
<DIV><FONT face=Georgia size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Georgia size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Georgia size=2>I get a problem when I want to&nbsp;compile the 
third libpq Example Program:</FONT></DIV>
<DIV><FONT face=Georgia size=2>This file is located at 
\postgresql-7.1.3\src\test\examples\testlibpq3.c </FONT></DIV>
<DIV><FONT face=Georgia size=2>The header of this file is described as below. 
</FONT></DIV>
<DIV><FONT face=Georgia size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Georgia size=2>&nbsp;&nbsp;&nbsp; /*<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;* testlibpq3.c Test the C version of Libpq, the Postgres 
frontend<BR>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;* library. tests the binary cursor 
interface<BR>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;*/</FONT></DIV>
<DIV><FONT face=Georgia size=2>&nbsp;&nbsp;&nbsp;&nbsp;#include 
&lt;utils/geo_decls.h&gt;</FONT></DIV>
<DIV><FONT face=Georgia size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Georgia size=2>&nbsp;&nbsp;&nbsp; And in the file of 
&lt;utils/geo_decls.h&gt;, it includes the file of &lt;fmgr.h&gt;</FONT></DIV>
<DIV><FONT face=Georgia size=2>
<DIV><FONT face=Georgia size=2>&nbsp;&nbsp;&nbsp;&nbsp;#include 
&lt;fmgr.h&gt;</FONT></DIV>&nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=Georgia size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Georgia size=2>When I compile this file 
&lt;testlibpq3.c&gt;,&nbsp;the error&nbsp;report is: &nbsp;</FONT></DIV>
<DIV><FONT face=Georgia size=2>"\postgresql-7.1.3\src\include\fmgr.h(30) : error 
C2065: 'PGFunction' : undeclared identifier"</FONT></DIV>
<DIV><FONT face=Georgia size=2>So I want to find the PGFuncion's defination. I 
found many places using PGFunction. However,</FONT></DIV>
<DIV><FONT face=Georgia size=2>I can not find the PGFunction's defination. 
</FONT></DIV>
<DIV><FONT face=Georgia size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Georgia size=2>Can you tell me where the&nbsp; "PGFunction" type 
is defined? &nbsp;Is it a built-in type? </FONT></DIV>
<DIV><FONT face=Georgia size=2>Thanks a lot.</FONT></DIV>
<DIV><FONT face=Georgia size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Georgia size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Georgia size=2>Best regards,<BR>Tony</FONT></DIV>
<DIV><FONT face=Georgia size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Georgia size=2>---<BR>Tony Jiang, MSc<BR>Research &amp; 
Development Programmer/Analyst<BR>MRF Geosystems Corp (<A 
href="http://www.mrf.com">www.mrf.com</A>)<BR>Suite 700, 665 8th Street SW, 
<BR>Calgary, AB T2P 3K7<BR>(403) 216-5515 ext:226</FONT></DIV>
<DIV><FONT face=Georgia size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Georgia size=2></FONT>&nbsp;</DIV>
<br>

<!-- |**|begin egp html banner|**| -->

<table border=0 cellspacing=0 cellpadding=2>
<tr bgcolor=#FFFFCC>
<td align=center><font size="-1" color=#003399><b>Yahoo! Groups Sponsor</b></font></td>
</tr>
<tr bgcolor=#FFFFFF>
<td align=center width=470><table border=0 cellpadding=0 cellspacing=0><tr><td align=center><font face=arial size=-2>ADVERTISEMENT</font><br><a href="http://rd.yahoo.com/M=213858.1727639.3250013.1261774/D=egroupweb/S=1705007183:HM/A=763352/R=0/*http://www.classmates.com/index.tf?s=5085" target=_top><img src="http://us.a1.yimg.com/us.yimg.com/a/cl/classmates_com2/bll_lrec1.gif" alt="" width="300" height="250" border="0"></a></td></tr></table></td>
</tr>
<tr><td><img alt="" width=1 height=1 src="http://us.adserver.yahoo.com/l?M=213858.1727639.3250013.1261774/D=egroupmail/S=1705007183:HM/A=763352/rand=374931222"></td></tr>
</table>

<!-- |**|end egp html banner|**| -->


<br>
<tt>
To unsubscribe from this group, send an email to:<BR>
postgis-unsubscribe@yahoogroups.com<BR>
<BR>
</tt>
<br>

<br>
<tt>Your use of Yahoo! Groups is subject to the <a href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service</a>.</tt>
</br>

</BODY></HTML>