> One other thing we're interested in is portability. I mean, even if > Linux were to introduce a new hypothetical syscall that was able to > return the file size at a ridiculously low cost, we probably wouldn't > use it because it'd be Linux-specific. So an improvement of lseek() > seems to be the best option.
Fully agreed. It doesn't make any sense at all to implement special syscalls just to workaround a basic system call not scaling. -Andi -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers