We characterize the supports of the measures having quadrature formulae with similar exactness as Gauss’ theorem. Indeed we
obtain the supports of the measures from which an m-point quadrature formula can be obtained such that it exactly integrates functions in the space ℙm−k,m−k[
, z]. We also give a method for obtaining the nodes and the quadrature coefficients in all the cases and, as a consequence, we
solve the same problem in the space of trigonometric polynomials.