Put all ingredients in a large saucepan and heat gently, stirring occasionally, until the sugar has dissolved. Then simmer for 15 minutes, stirring frequently, until the vegetables are soft.
Pour the finished relish into preheated, clean and dry jars, close tightly with the lid.
Store in a cool and dark place for at least 6 weeks before opening.