On 2015-12-10 17:55:37 +0000, Greg Stark wrote: > It seems to me that if you want to fix the linked lists of files > that's orthogonal to whether the file lengths on disk are > authoritative. You can always keep the lengths or at least the number > of files cached and updated in shared memory in a more efficient > storage format.
FWIW, I've a very preliminary patch doing exactly that, keeping the file size in shared memory. I'm not sure it'd end up nice if relation extension would have to grab an exclusive lock on the metapage. -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers