I thought both shows were funny. I liked Petticoat Junction, too. I still watch them when I can find them.
Paul Henning created the Beverly Hillbillies, and if you kept up with it, he did so to poke fun at "big city folk" who had lost touch with what was really important in life. He said they never really figured out that the sophisticated city folk were the actual butt of the jokes and not the down to earth Hillbillies.
When asked to create another winning sitcom, he decided to flip the script. Big City lawyer goes to live in a Rural community. "Green Acres." He was still making fun of the pretentious and "sophisticated" city folk with this one too.
When asked to create yet another winning sitcom, he didn't have another idea till his wife suggested the premise for "Petticoat Junction."