Doctors always think they know everything about everything, but guess what? They don't. They know a lot, but they don't know what you are feeling. I understand their thinking that one PPI is the same as the next, but how can that be? Some work for some, but not others. Hey, there are little differences between PPI's, and you very well could get a symptom from one and not the other.
There are others you could try. I was on Nexium and didn't get enough relief. That's a PPI--right? It should work the same as any other, right? They put me on Protonix, and I had much better results. So...if the Prilosec isn't working for you--or causing you some side effects--try another one. There's no telling whether or not it will give you problems as well, but I don't buy the doctors idea that they're all the same. If that were so, why would they switch people from one to the next, looking for better results?
It sounds like you're on the right path. You're the best one to figure it out. Keep exploring, testing, discovering. Good luck in your quest!
Hang in there!