First time I posted a question using complicated example, but this time I'll be wiser and simplify the question:
What is SPI equivalent for libpq PQftable & PQFtablecolumn functions ?
Regards !