"Cristiano Duarte" <cunha17(at)gmail(dot)com> writes:> Is there a way to have access to PostgreSQL query plan and/or predicates> inside a function using spi (or any other way)?
No.
regards, tom lane