In the PC, saute onions in some water for a few minutes until soft.Add remaining ingredients, except vinegar, salt and pepper. Close PC and bring to high pressure. Cook at high pressure for ten minutes.

Do a quick release, and add vinegar, one tablespoon at a time. Taste and add more according to your preference. Add salt and pepper to taste.