Re: checking on buildfarm member thrush - Mailing list pgsql-hackers

From Gaetano Mendola
Subject Re: checking on buildfarm member thrush
Date
Msg-id 449A5AC8.5050809@bigfoot.com
Whole thread Raw
In response to checking on buildfarm member thrush  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: checking on buildfarm member thrush  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> I'm trying to determine why thrush has been failing on PG CVS HEAD for
> the past few days.  Could you try running the attached program on that
> machine, and see what it prints?  I suspect it will dump core :-(
> 
> Note: you might need to use -D_GNU_SOURCE to get it to compile at all.
> 
>             regards, tom lane
> 
> 
> #include <stdio.h>
> #include <stdlib.h>
> #include <string.h>
> #include <errno.h>
> #include <fcntl.h>
> 
> int
> main()
> {
>     if (posix_fadvise(fileno(stdin), 0, 0, POSIX_FADV_DONTNEED))
>         printf("failed: %s\n", strerror(errno));
>     else
>         printf("OK\n");
>     return 0;
> }
> 


$ gcc -D_GNU_SOURCE tom.c  -o tom
$ ./tom
failed: Success


Regards
Gaetano Mendola







pgsql-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: CVS HEAD busted on Windows?
Next
From: "Mark Woodward"
Date:
Subject: Re: vacuum, performance, and MVCC