Some handgun rounds call for small rifle primers. In particular, the 9x23 Winchester, and hotter loads in the .38 Super and 9mm Super Comp, all of which I load.
As always, you would have to work up your loads from scratch, since the amount of priming compound is different in the two different primers, and that affects chamber pressures. To put it in simple terms, the flame from the pistol primer is short, and the flame from the rifle primer is long, as they are generally igniting different amounts of powder. The speed of the flame, or brisance is different. The priming compound is an actual explosive, so brisance applies to it, but not to the burning of gunpowder, since it burns rapidly, and doesn't explode.
The bottom line is, don't just exchange a small rifle primer for a small pistol primer without working up the load. Some handguns also won't set off a small rifle primer, which is another consideration.
Hope this helps.
Fred