pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedREINDEX CONCURRENT?
2+ messages / 2 participants
[nested] [flat]
* REINDEX CONCURRENT?
@ 2018-11-09 04:05 Ron <ronljohnsonjr@gmail.com>
2018-11-09 04:32 ` Re: REINDEX CONCURRENT? David Rowley <david.rowley@2ndquadrant.com>
0 siblings, 1 reply; 2+ messages in thread
From: Ron @ 2018-11-09 04:05 UTC (permalink / raw)
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Hi,
Is this very useful feature on the TODO list, and high enough that it might
get into v12? (Indexes supporting PK and FK constraints just can't be
dropped to use CREATE INDEX CONCURRENT.)
Thanks
--
Angular momentum makes the world go 'round.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: REINDEX CONCURRENT?
2018-11-09 04:05 REINDEX CONCURRENT? Ron <ronljohnsonjr@gmail.com>
@ 2018-11-09 04:32 ` David Rowley <david.rowley@2ndquadrant.com>
0 siblings, 0 replies; 2+ messages in thread
From: David Rowley @ 2018-11-09 04:32 UTC (permalink / raw)
To: Ron <ronljohnsonjr@gmail.com>; +Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
On 9 November 2018 at 17:05, Ron <ronljohnsonjr@gmail.com> wrote:
> Is this very useful feature on the TODO list, and high enough that it might
> get into v12? (Indexes supporting PK and FK constraints just can't be
> dropped to use CREATE INDEX CONCURRENT.)
There is a patch [1] in the current commitfest which allows indexes to
be renamed without taking an access exclusive lock. That's a sort of
precursor to allowing REINDEX CONCURRENTLY as, although we can build
indexes without blocking, we can't rename them and it's not much good
if you do a reindex and the new index appears with some other random
name. If that patch gets in with a good amount of time to spare then
there's a decent chance we'd see a reindex concurrently command patch
appear soon after.
[1] https://commitfest.postgresql.org/20/1726/
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-11-09 04:32 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-11-09 04:05 REINDEX CONCURRENT? Ron <ronljohnsonjr@gmail.com>
2018-11-09 04:32 ` David Rowley <david.rowley@2ndquadrant.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox