On consistency for the method of least squares using martingale theory

Least squares identification is considered from the Bayesian point of view. A necessary and sufficient condition for consistency almost everywhere is given under the assumption that the data are generated by a regression model with white and Ganssian noise.