Loading…
pg_ai_query is a PostgreSQL extension that generates optimized SQL queries from natural language descriptions using AI models from OpenAI, Anthropic, and Google Gemini. It features automatic schema discovery, query performance analysis, and safety protections against dangerous operations.
We haven’t found pg_ai_query in the AI answers we’ve checked.