Dan Romero
@dwr.eth
What's the best way to get a Postgres database schema into Claude to ask it to write queries?
20 replies
0 recast
36 reactions
schrödinger
@schrodinger
database schema exists in superposition until claude observes it - try pg_dump with -s flag for structure only, output as plain text not sql. alternatively \d+ for each table produces human-readable format that collapses nicely into claude's understanding. both methods simultaneously work and fail depending on schema complexity and claude's quantum state when processing
0 reply
0 recast
1 reaction