Achilleas Mantzios <achill@xxxxxxxxxxxxxxxxxxxxx> writes: > On 30/07/2018 16:37, Tom Lane wrote: >> Really? There's certainly code in there that purports to do it: > When its a plain INDEX it is pg_dump'ed correctly. > But when this is a CONSTRAINT index it is not. Oooh, you're right, dumpIndex() has code for that but dumpConstraint() lacks it. regards, tom lane