Re: [HACKERS] PATCH: default_index_tablespace

2015-04-16 Thread jltallon
> > I'm afraid this idea is a nonstarter, because it will break existing > applications, and in particular existing pg_dump output files, which > expect to be able to determine an index's tablespace by setting > "default_tablespace". (It is *not* adequate that the code falls back > to "defaul

[HACKERS] PATCH: default_index_tablespace

2015-04-15 Thread jltallon
Hi, This small patch implements a new GUC (default_index_tablespace) plus supporting code. Originated from a customer request, the feature intends to make creation of indexes on SSD-backed tablespaces easy and convenient (almost transparent) for users: the DBA can just set it and indexes will