projects
/
pgfincore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeb2bc7
)
Change the contasnt use to test FADVISE
author
CΓ©dric Villemain
<cedric@2ndquadrant.fr>
Tue, 6 Sep 2011 21:51:07 +0000
(23:51 +0200)
committer
CΓ©dric Villemain
<cedric@2ndquadrant.fr>
Tue, 6 Sep 2011 21:51:07 +0000
(23:51 +0200)
this is used to allow the code to compile on systems without posix_fadvise.
We use the PostgreSQL defined contant, so we don't have to check ourselves
pgfincore.c
patch
|
blob
|
blame
|
history
diff --git
a/pgfincore.c
b/pgfincore.c
index be1cf1617368fd3136464e695d76ebd5dc326e73..afcbde8b5b9dcc6ca55c475334f1a05fbb71896b 100644
(file)
--- a/
pgfincore.c
+++ b/
pgfincore.c
@@
-225,7
+225,7
@@
pgsysconf(PG_FUNCTION_ARGS)
PG_RETURN_DATUM( HeapTupleGetDatum(tuple) );
}
-#ifdef
FIO_HAVE
_FADVISE
+#ifdef
USE_POSIX
_FADVISE
/*
* pgfadvise_file
*/
@@
-478,7
+478,7
@@
pgfadvise(PG_FUNCTION_ARGS)
}
}
-#ifdef
FIO_HAVE
_FADVISE
+#ifdef
USE_POSIX
_FADVISE
/*
* pgfadvise_file
*/