Make pg_tablespace_location(0) return the database's default tablespace.
This definition is convenient when applying the function to the reltablespace column of pg_class, since that's what zero means there; and it doesn't interfere with any other plausible use of the function. Per gripe from Bruce Momjian.
Showing
Please register or sign in to comment