[PATCH v1] Fix propagation of indimmediate flag in index_create_copy - Mailing list pgsql-hackers

From Nitin Motiani
Subject [PATCH v1] Fix propagation of indimmediate flag in index_create_copy
Date
Msg-id CAH5HC97JmjPpgiQOqW9xm8qXhNiu7zZ1Qh+FfhEESJuDv69kuQ@mail.gmail.com
Whole thread
List pgsql-hackers
Hi,

It was reported in [1] that Reindex Concurrently for indexes with
deferrable constraints doesn't honour the deferrable constraints while
the operations is running. And the transactions can fail because the
constraint is enforced before commit.

I'm proposing a patch here which correctly copies the flag from the
old index to the new one. Please take a look.


[1] https://www.postgresql.org/message-id/flat/cc0470801d4ee46bd85f94c2516fd31b%40nimrod.no

Regards & Thanks,
Nitin Motiani
Google

Attachment

pgsql-hackers by date:

Previous
From: Álvaro Herrera
Date:
Subject: Re: [PATCH] Don't call ereport(ERROR) from recovery target GUC assign hooks
Next
From: Antonin Houska
Date:
Subject: Re: Unexpected behavior after OOM errors