I am thinking the proper term for the first column of pg_stat_file() is
"size", not "length".
test=> select * from pg_stat_file('.');
length | atime | mtime |
ctime | isdir
--------+------------------------+------------------------+------------------------+-------
512 | 2005-08-13 23:06:38-04 | 2005-08-13 23:06:54-04 | 2005-08-13
23:06:54-04 | t
(1 row)
--
Bruce Momjian | http://candle.pha.pa.us
[email protected] | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster