On Tue, Apr 10, 2012 at 7:57 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: > If we expect this function to mainly be applied to pg_class.reltablespace, > then it seems like it ought to understand that zero means "the database > default" and substitute the database's default tablespace. That might > or might not be the same as the cluster default. > > Alternatively, we could expect pg_upgrade to understand that and make > the substitution itself, but if the same would be needed by most uses of > the function, maybe we should just do it here.
+1 for doing it in the function. I think that will improve ease-of-use and give up nothing. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers