I wrote: > On second thought, just guarding the pg_tablespace_size() call and > reporting an unknown size when permissions are insufficient is better, > so that \db+ still lists all tablespaces like \db does. And here's a patch that does that. It also adds a few words to the docs to mention that the tablespace size is reported as NULL if the user lacks the necessary access privileges. I did not add a test for \db+ because the output is not stable due to varying tablespace OIDs and owner name. -- Erik