A pan used for urination and defecation while in bed, now usually for reasons of medical necessity or convenience.
A pot used for peeing: a chamber pot.