Re: [PATCHES] [HACKERS] contrib/pg_buffercache

2005-04-01 Thread Neil Conway
Mark Kirkwood wrote: So, please ignore my previous patch to the header file, and consider this one - which eliminates it completely. Thanks, applied. -Neil ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ?

Re: [PATCHES] [HACKERS] contrib/pg_buffercache

2005-03-31 Thread Mark Kirkwood
Neil Conway wrote: Mark Kirkwood wrote: Great that it fixes it... however, I had submitted a tidier patch that puts the macro in the header How is this tidier? err... puts the macro in the header (I don't see a reason for pg_buffercache_pages.h at all, actually.) (chuckles) - well, that puts

Re: [PATCHES] [HACKERS] contrib/pg_buffercache

2005-03-31 Thread Andrew Dunstan
Mark Kirkwood wrote: Neil Conway wrote: Andrew Dunstan wrote: I have confirmed that the attached patch works on Cygwin as well as Windows. Please apply. Applied, thanks. Great that it fixes it... however, I had submitted a tidier patch that puts the macro in the header (probably after

Re: [PATCHES] [HACKERS] contrib/pg_buffercache

2005-03-31 Thread Mark Kirkwood
Andrew Dunstan wrote: I didn't see the original of the later patch, which is why I sent in mine. I honestly don't care that much either way, although I'm inclined to agree that the header file is just unnecessary noise. Well, looks like a strong feeling for no header :-). I didn't really think

Re: [PATCHES] [HACKERS] contrib/pg_buffercache

2005-03-30 Thread Andrew Dunstan
I have confirmed that the attached patch works on Cygwin as well as Windows. Please apply. cheers andrew Andrew Dunstan wrote: It fixes the build error on Windows - haven't tried because i don't have time, but I know it won't work on Cygwin, because WIN32 isn't (usually) defined on Cygwin - see

Re: [PATCHES] [HACKERS] contrib/pg_buffercache

2005-03-30 Thread Mark Kirkwood
Neil Conway wrote: Andrew Dunstan wrote: I have confirmed that the attached patch works on Cygwin as well as Windows. Please apply. Applied, thanks. Great that it fixes it... however, I had submitted a tidier patch that puts the macro in the header (probably after asking Andrew to test the

Re: [PATCHES] [HACKERS] contrib/pg_buffercache

2005-03-30 Thread Neil Conway
Mark Kirkwood wrote: Great that it fixes it... however, I had submitted a tidier patch that puts the macro in the header How is this tidier? (I don't see a reason for pg_buffercache_pages.h at all, actually.) -Neil ---(end of broadcast)--- TIP 7:

Re: [PATCHES] [HACKERS] contrib/pg_buffercache

2005-03-30 Thread Neil Conway
Andrew Dunstan wrote: I have confirmed that the attached patch works on Cygwin as well as Windows. Please apply. Applied, thanks. -Neil ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [PATCHES] [HACKERS] contrib/pg_buffercache

2005-03-16 Thread Mark Kirkwood
Andrew Dunstan wrote: It fixes the build error on Windows - haven't tried because i don't have time, but I know it won't work on Cygwin, because WIN32 isn't (usually) defined on Cygwin - see previous almost endless discussions. Yes - I recall that discussion a while ago. This patch should sort the

Re: [PATCHES] [HACKERS] contrib/pg_buffercache

2005-03-16 Thread Andrew Dunstan
Mark Kirkwood wrote: Andrew Dunstan wrote: It fixes the build error on Windows - haven't tried because i don't have time, but I know it won't work on Cygwin, because WIN32 isn't (usually) defined on Cygwin - see previous almost endless discussions. Yes - I recall that discussion a while