Re: Index build temp files

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: Index build temp files
Дата
Msg-id 20130110025909.GC11600@tornado.leadboat.com
обсуждение исходный текст
Ответ на Re: Index build temp files  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On Thu, Jan 10, 2013 at 02:48:23AM +0000, Simon Riggs wrote:
> On 10 January 2013 02:36, Noah Misch <noah@leadboat.com> wrote:
> > On Wed, Jan 09, 2013 at 03:20:33PM -0500, Tom Lane wrote:
> >> What would people think of just eliminating the access-permissions
> >> checks involved in temp_tablespaces?  It would likely be appropriate to
> >> change temp_tablespaces from USERSET to SUSET if we did so.  So
> >> essentially the worldview would become that the DBA is responsible for
> >> the temp_tablespaces setting, not individual users.
> >
> > Allowing that the new behavior could be clearer, that gain is too small to
> > justify the application compatibility hazard of making temp_tablespaces SUSET.
> > I don't see something we can do here that clearly improves things overall.
> 
> Can't we do both behaviours? Skip permissions if using a value form
> .conf, but don't if the user sets it themselves.

We could, though I share Tom's reluctance[1].

[1] http://archives.postgresql.org/message-id/1985.1357765424@sss.pgh.pa.us



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Index build temp files
Следующее
От: Noah Misch
Дата:
Сообщение: Re: lazy_vacuum_heap()'s removal of HEAPTUPLE_DEAD tuples