Sergey Samokhin <prikrutil(at)gmail(dot)com> writes:
> Is there a runtime parameter which holds true if we are inside
> transaction, and false otherwise?
No, because it is not possible to execute SHOW without being inside
a transaction.
Maybe you should explain what it is you want to accomplish.
regards, tom lane