Re: REINDEX CONCURRENTLY unexpectedly fails
Michael Paquier <[email protected]> Fri, 13 Dec 2019 11:47:33 +0900
| Newsgroups | gmane.comp.db.postgresql.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Dec 12, 2019 at 05:11:08PM -0300, Alvaro Herrera wrote: > I liked Andres' original naming suggestion better FWIW. With this, one > wonders "concurrently what?" I did not like the "creation" part from the original suggestion :) IndexCreationSupportsConcurrent() called from a place where an index is dropped does not sound very consistent. > Some suggestions, > "RelationSupportsConcurrentIndexing" or > "IndexSupportsConcurrently". Maybe replace the "ing" in the first or > "ly" in the second with "DDL" or "Ops". (Also, if it's just about > indexes and appears in index.h, why did you use the prefix "Relation"?) RelationSupportsConcurrentIndexing sounds like a good compromise to me. The reasoning behind using relation is that this check can be used for an index or its parent relation. -- Michael
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl3y+8UACgkQnvQgOdby QH14Uw//a2Gy7PgH+huPubGM+K49HuYrETmBtVPACkr8RpJ/WSCK58SydDSjhvGv xnbkTHfoKarNSKDdUCgnfKXJTR2goc2TNBQUbqDqNHSyr/NtXBzo+IMT63K73h8y if5/2CUaonxZiT/NLffNDmDA8wV19AWvO7zrCR/RiwbX0O0WI1MlD9+HhEmwPnID VMveL7abkTPXqHYIb3dpisgvHxq9Z5p86ITNBax5y2UKf5xWBZFpBFhRTzB3SRAf 4koYVJ1t4jzSs8eJoDo5yCqBbepv+AfmfKrV7HwBU1Kf8BE4WnNWBEqldWjw2nqI 8xaOtJq/st5Na5JtJbNVg6IH12A9ilwf5ANFpVRZ0GPn975Ci6kOI7vDwiZHB8E3 OK1yi1Mk1k629NlyUzegY5jcKC8P50AWJKV+NV3bL/lqgeaL5G3og8ne0lVwmg8e BoQ2iefpCpRQpkw+rT0kefmo4BEUK0v2WOJZ8woWSDUFV20Zt/wDAKBD8vOi/YTp H76wjRsS2I/qs0V4M2s7leNTdLCot+8Cgn1w9jPGy6LRnug5tgBjlY7KKB25Yffu /IMxoO2ksw/860h8129+RNG/WpxGxWanxWJlZ/0atCn9jpfE0i1o7GywXb5kGfTp 1FgHMLbTD47ZC25ws/OkjKbwWk+IyoJhmhlWgKTZhP8Gj6AdLj8= =BKqX -----END PGP SIGNATURE-----