I believe PostgreSQL sends the query hints/warnings etc using the postgreSQL notification system and the default Lazarus components do not have the capability built in to get the info needed.
I use the postgres components from Devart.com which work on Lazarus and fully support getting the proper error messages from the PG notification system.
Libpq does have the ability to get this info, so it's possible for the default Lazarus components to implement this.
Hope that helps out a bit.
Hi and thank you very much for this valuable explanation. It helps a lot.
I just saw that it is cross-platform, and has extra features. They even have an option to include the source-code!
Thank you also for mentioning your finding it adequate.
I am making it a point to explore what you mention.
Perhaps eventually the capability might be added to the Lazarus components, too, as you suggest!