Though it was never explicitly stated, Pulaski was understood to be a parody of Dempsey and Makepeace (1985).
When the show was cancelled, writer Roy Clarke took the basic premise (TV detective mistaken for the real thing) to a rival network, and re-worked it as The World of Eddie Weary (1990)