take g to be nonconstant then :)
if you find out that the speaker wants the curve to be 'irreducible', then you want g to be irreducible as a polynomial
if you find out that the speaker wants the curve to be 'smooth', then you want the derivatives to not vanish simultaneously on the curve