Re: make default TABLESPACE belong to target table.

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: make default TABLESPACE belong to target table.
Дата
Msg-id CAB7nPqTCsuEtRGTKL5HiE3ne8_DE5MGitQ8=BSaCu-B-Mk-V1g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: make default TABLESPACE belong to target table.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Nov 27, 2016 at 1:16 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> If we just did points 1 and 2 then a bool GUC would suffice.  I'm
> not sure how to handle all three cases cleanly.  We could define
> default_index_tablespace as empty to get point 1 or a tablespace
> name to get point 3, but that leaves us having to use some magic
> string for point 2, which would be messy --- what if it conflicts
> with someone's choice of a tablespace name?

Just using a special value for default_tablespace would be enough as well.
-- 
Michael



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Logical decoding on standby
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Mail thread references in commits