Re: fflush - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: fflush
Date
Msg-id 49831353.3030804@dunslane.net
Whole thread Raw
In response to fflush  (Jean-Michel Riet <jean-michel.riet@thalesgroup.com>)
List pgsql-hackers

Jean-Michel Riet wrote:
> Hello,
>
> I'm coding some functions in C language on Windows for Postgres server 
> (calling from PG).
>
> After dll generation and put it to the correct postgres directory the 
> problem is as follow :
>
> Postgres stop running when i call  /fflush() / function on a file 
> stream and no data are in my file.
>
> The behavior is already the same,  Postgres process dies.
>
> Is it a know problem ?,
> or there is a way to protect the calling function, or  to implement 
> with caution 
> the soft.
>

That seems very odd. I think you'll need to show us the whole function code.

cheers

andrew


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: mingw check hung
Next
From: Andrew Dunstan
Date:
Subject: Re: mingw check hung