This tune pre-dates Lehrer by decades possibly generations. The only variation of it is the Eliz Humphrey verse which my uncle used to sing in 1947 almost a dcade b4 Lehrer "... ...... thought she was cumfy, but the seat had been varnished and she couldn't get her bum free."