whatever calls the function is responsible for transaction level change, because SELECT BLA(); already by default is wrapped by begin;end; - and you can only change transaction level right after BEGIN; although , I feel your pain, it is not possible.
- [GENERAL]transaction isolation level in plpgsql funct... Sergey Moroz
- Re: [GENERAL]transaction isolation level in plpg... Pavan Deolasee
- Re: [GENERAL]transaction isolation level in ... Grzegorz Jaśkiewicz