I wrote some sql queries for PostGIS which does GIS processing, involving point/polygon feature and raster data for land covers. I originally wrote it in ArcPy and arc tool box but performance was not good enough, moved to PostGIS.
Now I want to be able to use this tool from ArcGIS. Is it doable, and where is description/documentation/example for doing it? I searched ESRI websites for PostGIS, but they mention how to use data in database, and i couldn't easily find how do things like create schema, import data, populate table with new geometries/attributes etc.