[GRASS5] d.site.pg and s.to.rast

Alex Shevlakov alex at asrv.fcpf.ru
Wed Mar 13 05:08:51 EST 2002


On Sat, Mar 09, 2002 at 09:12:38PM +0000, Glynn Clements wrote:
> 
> Are you saying that your PostgreSQL installation doesn't have
> <catalog/pg_type.h>? If so, do you have any idea whether this is
> likely to be a common problem?

I compiled 7.1.3 and 7.2 - it's not there after make install.

> 
> Using integer constants in the source code should be avoided if at all
> possible. If it's unreasonable to rely upon the presence of
> <catalog/pg_type.h>, the various *OID macros should be #define'd
> locally.

Such like #define TXTOID 25 , and then use TXTOID IN case's clause. If 
I got you right.

Besides, the 7.2 Postgres has changed structure of header directory, they have moved postgres_fe,h and c.h to another directory (/usr/local/pgsql/include/internal), so the ./configure would need know this to find the headers.

--alex


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20020313/8d1a510a/attachment.bin


More information about the grass-dev mailing list