This is the reply from my local VW:
"The difference between the Part Numbers that you have given me is that 054905377A is a 740mm Knock Sensor with harness, suitable for PL, PF and RV engines between 1986 and 1989 (or 1993 for Golf Cabriolet), whereas 054905377G is a 535mm Knock Sensor with wiring harness suitable for PG, PB, PF, PL and RV Engines between 1990 and 1998 (or 2002 for Golf Cabriolet)."
So, for my PB engine, I need the 054905377G one.