Re: REINDEX CONCURRENTLY unexpectedly fails
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Manuel Rigger <rigger.manuel@gmail.com>,
PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2019-11-13T16:45:34Z
Lists: pgsql-bugs
Andres Freund <andres@anarazel.de> writes: > On 2019-11-13 10:59:08 -0500, Tom Lane wrote: >> It's not real clear why there would be any point in (RE)INDEX >> CONCURRENTLY on a temp table anyway, since no other session could >> be using it. > I guess it's not necessarily always clear in all contexts that one is > dealing with a temp table, rather than a normal table. That's a good point. > I wonder if we instead ought to just ignore the CONCURRENTLY when > targetting a temp table? That'd be a correct optimization for temp > tables, and would fix the issue at hand... Oh, I like that idea. Keeps applications from having to think about this. regards, tom lane
Commits
-
Fix concurrent indexing operations with temporary tables
- d76652edc56f 9.4.26 landed
- c39f45598177 9.5.21 landed
- ef33edeb5835 9.6.17 landed
- 9055344b495f 10.12 landed
- 5b4b07fa9ac3 11.7 landed
- 817a1b88ac66 12.2 landed
- a904abe2e284 13.0 landed