Querying Local Postgres

Run read-only SQL against the local Postgres app database (SELECT, EXPLAIN, EXPLAIN ANALYZE on SELECT). Default local URL postgres://posthog:posthog@localhost:5432/posthog; else DATABASE_URL. Use when querying the local DB, inspecting tables, debugging data, or analyzing query plans. Mutations are strictly forbidden.

posthog Updated

File contents

PostHog/posthog commit 28705b753c

Frequently asked questions

npx skillmds@latest add posthog/querying-local-postgres