Re: [HACKERS] REINDEX CONCURRENTLY 2.0

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] REINDEX CONCURRENTLY 2.0
Дата
Msg-id 20181231214133.jy5ihqq5554brk7n@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [HACKERS] REINDEX CONCURRENTLY 2.0  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-hackers
On 2018-12-31 21:35:57 +0000, Andrew Gierth wrote:
> >>>>> "Alvaro" == Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> 
>  Alvaro> After looking at the proposed grammar again today and in danger
>  Alvaro> of repeating myself, IMO allowing the concurrency keyword to
>  Alvaro> appear outside the parens would be a mistake. Valid commands:
> 
>  Alvaro>   REINDEX (VERBOSE, CONCURRENTLY) TABLE foo;
>  Alvaro>   REINDEX (CONCURRENTLY) INDEX bar;
> 
> We burned that bridge with CREATE INDEX CONCURRENTLY; to make REINDEX
> require different syntax would be too inconsistent.
> 
> If we didn't have all these existing uses of CONCURRENTLY without
> parens, your argument might have more merit; but we do.

+1


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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Refactoring the checkpointer's fsync request queue
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: stats_temp_directory conflicts