IIRC...that "good night greeting", is from at least the early 1800s, so yes, it's been around for a VERY long time. But I always said it to my progeny and now, to my grandson. :-)
:-)