Fixed related articles in postgresql