Hi,
How can I retrieve geometric data from postgis
Use SQL and parse the output or you can try to read it with this unreleased extension
Use the shapelib or you can try one of these unreleased extension related to shapefile format
You may need to implement readers parsers on your own or use third parties.
Best regards,
--