Skip site navigation (1) Skip section navigation (2)

Re: fflush

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Jean-Michel Riet <jean-michel(dot)riet(at)thalesgroup(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: fflush
Date: 2009-01-30 14:48:51
Message-ID: 49831353.3030804@dunslane.net (view raw or flat)
Thread:
Lists: 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

In response to

  • fflush at 2009-01-30 13:25:56 from Jean-Michel Riet

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2009-01-30 14:52:03
Subject: Re: mingw check hung
Previous:From: Magnus HaganderDate: 2009-01-30 14:20:11
Subject: Re: mingw check hung

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group