Reindex concurrently

Поиск
Список
Период
Сортировка
От SOzcn
Тема Reindex concurrently
Дата
Msg-id CAJyV5AanzhzubzCs0-Ergr3S_02FjHPWScNxnKB93L7mbRDTnw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Reindex concurrently  (Holger Jakobs <holger@jakobs.com>)
Список pgsql-admin
Hello team, 

We've been building a index maintenance scripts but in the function it doesn't work with concurrently, is there a way for manipulate that ? Just for example ; The reindexes are working without function. Have a nice day!

select index_stat.test ();


CREATE OR REPLACE FUNCTION index_stat.test()

RETURNS void

LANGUAGE plpgsql

AS $function$

begin

REINDEX INDEX CONCURRENTLY "players_id_idx";

commit;

REINDEX INDEX CONCURRENTLY "players_about_idx";

commit;

end;

$function$

;

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

Предыдущее
От: SOzcn
Дата:
Сообщение: Re: Log Rotation
Следующее
От: Holger Jakobs
Дата:
Сообщение: Re: Reindex concurrently