... > Thomas, are you going to extend this to locations for any table/index? > Seems whatever we do for WAL should fix in that scheme.
Yes, the longer-term goal is enabling table/index-specific locations. I'm not certain whether WAL can use *exactly* the same mechanism, since 1) the location for WAL is (currently) not particularly related to the directory structure for other resources such as databases and tables. 2) postmaster may want to access WAL-kinds of information before having access to the global database info. I'll have a question for -hackers very soon on why I seem to be having trouble adding a column to pg_class (which will end up being an OID for the internally supported view of what "locations" are). I'm getting access violations after adding a column which is initialized to zero and never explicitly used in the code... - Thomas ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster