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

From: el dorado <do_ra_do(at)mail(dot)ru>
To: 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-21 08:33:47
Message-ID: E1KKqq3-0008Il-00.do_ra_do-mail-ru@f122.mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hello.
Thank you very much for your answer.
I found an option "Configuration Properties\C/C++/General/Detect 64-bit Portability Issues". It was set to 'Yes'. I made it 'No'.
Now I don't get these warnings about 'type cast'.
The result:
1>Compiling...
1>getstring.c
1>d:\pgsql83\getstring\c_getstring.c(10) : warning C4273: 'Pg_magic_func' : inconsistent dll linkage
1> d:\pgsql83\getstring\c_getstring.c(10) : see previous definition of 'Pg_magic_func'
1>d:\pgsql83\getstring\c_getstring.c(24) : warning C4273: 'pg_finfo_getTimeFromApplication' : inconsistent dll linkage
1> d:\pgsql83\getstring\c_getstring.c(24) : see previous definition of 'pg_finfo_getTimeFromApplication'
1>Compiling manifest to resources...
1>Linking...
1>LINK : D:\pgsql83\c_getstring\Debug\getstring.dll not found or not built by the last incremental link; performing full link
1> Creating library D:\pgsql83\getstring\Debug\getstring.lib and object D:\pgsql83\getstring\Debug\getstring.exp
1>Embedding manifest...
1>Build log was saved at "file://d:\pgsql83\getstring\getstring\Debug\BuildLog.htm"
1>c_synctime - 0 error(s), 2 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

But the function doesn't work as well.... :(
ERROR: invalid memory alloc request size 4294967293

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2008-07-21 08:59:59 Re: C-procedure crashed in Postgres 8.3.3 when using 'text' variable (WinXP) - additional
Previous Message Torsten Zühlsdorff 2008-07-21 07:40:19 Re: question about performance