The one-dimensional Coulomb problem