Re: C-procedure crashed in Postgres 8.3.3 when using 'text' variable (WinXP) - additional - Mailing list pgsql-general

From Tom Lane
Subject Re: C-procedure crashed in Postgres 8.3.3 when using 'text' variable (WinXP) - additional
Date
Msg-id 21802.1216392718@sss.pgh.pa.us
Whole thread Raw
In response to C-procedure crashed in Postgres 8.3.3 when using 'text' variable (WinXP) - additional  (el dorado <do_ra_do@mail.ru>)
List pgsql-general
el dorado <do_ra_do@mail.ru> writes:
> (By the way, I can't compile it as C++ Code (/TP)

No, you can't.

> 1>d:\pgsql83\getstring\c_getstring.c(75) : warning C4311: 'type cast' : pointer truncation from 'char [8]' to 'Datum'
> 1>d:\pgsql83\getstring\c_getstring.c(75) : warning C4312: 'type cast' : conversion from 'Datum' to 'Pointer' of
greatersize 
> 1>d:\pgsql83\getstring\c_getstring.c(75) : warning C4311: 'type cast' : pointer truncation from 'varlena *' to
'Datum'

These look like you are trying to compile in a 64-bit environment.  We
don't (yet) support building 64-bit in Windows.  Use 32-bit.

            regards, tom lane

pgsql-general by date:

Previous
From: "Francisco Reyes"
Date:
Subject: Re: Reducing memory usage of insert into select operations?
Next
From: Tom Lane
Date:
Subject: Re: Initdb problem on debian mips cobalt: Bus error