Re: [HACKERS] Server crash during simple c-language function

2010-09-16 Thread Robert Haas
2010/9/16 Tomáš Kovářík : > Thanks Robert for the test on MacOS X. I wanted to be sure that it is > not only my installation issue, so I tried the same on Windows Server > 2003 with PostgreSQL 8.3; the same crash. Is there anybody who has > written a C-function on Windows platform? Maybe you shoul

Re: [HACKERS] Server crash during simple c-language function

2010-09-16 Thread Tomáš Kovářík
Thanks Robert for the test on MacOS X. I wanted to be sure that it is not only my installation issue, so I tried the same on Windows Server 2003 with PostgreSQL 8.3; the same crash. Is there anybody who has written a C-function on Windows platform? Tomas 2010/9/15 Robert Haas : > 2010/9/15 Tomáš

Re: [HACKERS] Server crash during simple c-language function

2010-09-15 Thread Robert Haas
2010/9/15 Tomáš Kovářík : > I am trying to create a simple c-language function for "PostgreSQL > 8.4.4, compiled by Visual C++ build 1400, 32-bit" running on Windows 7 > (32-bit). It works, until I use a SPI. > > 1) CRASH: I successfully execute a simple query using SPI_exec(), but > when getting t

[HACKERS] Server crash during simple c-language function

2010-09-15 Thread Tomáš Kovářík
Hi, I'm resending it to here, since I didn't got no response from the "general" group. I am trying to create a simple c-language function for "PostgreSQL 8.4.4, compiled by Visual C++ build 1400, 32-bit" running on Windows 7 (32-bit). It works, until I use a SPI. 1) CRASH: I successfully execute