Re: posix_fadvise v22
От
Robert Haas
Тема
Re: posix_fadvise v22
Дата
Msg-id
603c8f070901011230t1afa6644racb715b975078054@mail.gmail.com
Ответ на
Re: posix_fadvise v22 (Gregory Stark)
Список
Дерево обсуждения
Re: posix_fadvise v22 Greg Stark <greg.stark@enterprisedb.com>
Re: posix_fadvise v22 Tom Lane <tgl@sss.pgh.pa.us>
Re: posix_fadvise v22 "Greg Stark" <stark@enterprisedb.com>
Re: posix_fadvise v22 Gregory Stark <stark@enterprisedb.com>
Re: posix_fadvise v22 "Robert Haas" <robertmhaas@gmail.com>
Re: posix_fadvise v22 Tom Lane <tgl@sss.pgh.pa.us>
Re: posix_fadvise v22 "Robert Haas" <robertmhaas@gmail.com>
Re: posix_fadvise v22 Tom Lane <tgl@sss.pgh.pa.us>
Re: posix_fadvise v22 "Robert Haas" <robertmhaas@gmail.com>
Re: posix_fadvise v22 Tom Lane <tgl@sss.pgh.pa.us>
Re: posix_fadvise v22 Gregory Stark <stark@enterprisedb.com>
Re: posix_fadvise v22 Gregory Stark <stark@enterprisedb.com>
Re: posix_fadvise v22 Tom Lane <tgl@sss.pgh.pa.us>
Re: posix_fadvise v22 Gregory Stark <stark@enterprisedb.com>
Re: posix_fadvise v22 Tom Lane <tgl@sss.pgh.pa.us>
Re: posix_fadvise v22 Greg Stark <greg.stark@enterprisedb.com>
Re: posix_fadvise v22 "Robert Haas" <robertmhaas@gmail.com>
Re: posix_fadvise v22 Greg Stark <greg.stark@enterprisedb.com>
Re: posix_fadvise v22 Peter Eisentraut <peter_e@gmx.net>
Re: [SPAM] Re: posix_fadvise v22 Gregory Stark <stark@enterprisedb.com>
Re: [SPAM] Re: posix_fadvise v22 Peter Eisentraut <peter_e@gmx.net>
Re: [SPAM] Re: posix_fadvise v22 Tom Lane <tgl@sss.pgh.pa.us>
Re: [SPAM] Re: posix_fadvise v22 Bruce Momjian <bruce@momjian.us>
Re: [SPAM] Re: posix_fadvise v22 "Robert Haas" <robertmhaas@gmail.com>
Re: posix_fadvise v22 "Robert Haas" <robertmhaas@gmail.com>
Re: posix_fadvise v22 Greg Smith <gsmith@gregsmith.com>
Re: posix_fadvise v22 Tom Lane <tgl@sss.pgh.pa.us>
Re: posix_fadvise v22 Greg Smith <gsmith@gregsmith.com>
Re: posix_fadvise v22 Bruce Momjian <bruce@momjian.us>
Re: posix_fadvise v22 Tom Lane <tgl@sss.pgh.pa.us>
Re: posix_fadvise v22 Gregory Stark <stark@enterprisedb.com>
Re: posix_fadvise v22 Tom Lane <tgl@sss.pgh.pa.us>
Re: posix_fadvise v22 Gregory Stark <stark@enterprisedb.com>
Re: posix_fadvise v22 "Robert Haas" <robertmhaas@gmail.com>
Re: posix_fadvise v22 "Greg Stark" <stark@enterprisedb.com>
Re: posix_fadvise v22 "Robert Haas" <robertmhaas@gmail.com>
Re: posix_fadvise v22 "Greg Stark" <stark@enterprisedb.com>
Re: posix_fadvise v22 "Robert Haas" <robertmhaas@gmail.com>
Re: posix_fadvise v22 "Greg Stark" <stark@enterprisedb.com>
I tried this on my laptop running FC9, and because I forgot to run autoconf, I got this error message when I tried to turn on posix_fadvise. rhaas=# set effective_io_concurrency to 3; ERROR: could not determine if this system has a working posix_fadvise DETAIL: Check configure.log produced by configure for more information Am I correct in thinking that the only thing we're really checking for here is whether a trivial posix_fadvise() call returns success? If so, is this test really worth doing? It seems to me that since users can always switch off the feature by leaving effective_io_concurrency set to the default value of 1, there is not much value in having a configure test that forcibly disables it. If the user has a broken posix_fadvise() and later fixes it, they shouldn't have to recompile PostgreSQL to use this feature, especially in this day when the build system and the run system are often different. A user who somehow ends up with RPMs that generate this error message will be utterly at a loss as to what to do about it. One minor nit: If we're going to keep this test, we should change the detail string to say config.log rather than configure.log, as that is the actual file name. ...Robert On Thu, Dec 11, 2008 at 4:35 PM, Gregory Stark wrote: > Here's the update > > I also skimmed through and cleaned a couple other things. There's *still* a > function prototype which I don't see what header file to put it in, that's the > one in port/posix_fadvise.c which contains one function with one caller, guc.c. > > > -- > Gregory Stark > EnterpriseDB http://www.enterprisedb.com > Ask me about EnterpriseDB's 24x7 Postgres support! > > > -- > Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-hackers > >
В списке pgsql-hackers по дате отправления