This patch adds the missing has_tablespace_privilege set of functions. Has docs. Requires initdb.
Chris