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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: el dorado <do_ra_do(at)mail(dot)ru>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: C-procedure crashed in Postgres 8.3.3 when using 'text' variable (WinXP) - additional
Date: 2008-07-18 14:51:58
Message-ID: 21802.1216392718@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

el dorado <do_ra_do(at)mail(dot)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 greater size
> 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-07-18 15:01:23 Re: Initdb problem on debian mips cobalt: Bus error
Previous Message Francisco Reyes 2008-07-18 14:41:23 Re: Reducing memory usage of insert into select operations?