Fix file_fdw to use stat() instead of lstat() to get size of the file.
authorShigeru Hanada <hanada@metrosystems.co.jp>
Mon, 7 Feb 2011 14:37:28 +0000 (23:37 +0900)
committerShigeru Hanada <hanada@metrosystems.co.jp>
Tue, 8 Feb 2011 08:50:22 +0000 (17:50 +0900)
commitc12d8c059797d442b1e5557edc35d8cf6761e2be
tree1b22907cffea3801fc5a8b926b35d9813beabeb8
parent0fd511b672bdbcbbcdcfce1d5970abc19473f4ef
Fix file_fdw to use stat() instead of lstat() to get size of the file.

Because lstat() gives size of the link itself, not the linked file.
contrib/file_fdw/file_fdw.c