Skip to content

support psql's EXPLAIN (ANALYZE, BUFFERS) extended syntax - #146

Closed
osheroff wants to merge 1 commit into
nene:masterfrom
osheroff:postgres-explain-options
Closed

osheroff wants to merge 1 commit into
nene:masterfrom
osheroff:postgres-explain-options

Conversation

@osheroff

Copy link
Copy Markdown

Hey,

I'm working on https://sqlsnob.com/ which is based on this repo, because at my day job you wouldn't believe the craziness of the SQL generated. something we use a lot is postgres' EXPLAIN (ANALYZE, BUFFERS). I'm not sure if the goal of this repo is to achieve complete parity or like "good enough" parity, nor am i sure where this SQL falls.

I confess this is 100% ai-generated, let me know if it doesn't pass the sniff-test.

cheers
osheroff
ps tell uncle jim i said hi

@nene

nene commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Hi Ben,

Thanks for the PR. Also thanks for being clear about AI use, that's pretty rare nowadays. I very much appreciate it.

I need to think about how to best organize the parsing of this EXPLAIN syntax. Maybe I'll use this code, maybe not. Maybe I'll use parts of it.

Also, always good to hear how people use this library. Good luck with your sqlsnob tool.

PS. I don't really get this uncle Jim thing.

@nene

nene commented Nov 21, 2026

Copy link
Copy Markdown
Owner

I ended up mostly implementing this on my own. But used a few bits of your code.

@nene nene closed this Nov 21, 2026
@osheroff

Copy link
Copy Markdown
Author

PS. I don't really get this uncle Jim thing.

chaotic good is my dnd alignment, just a smile. glad you found any use at all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants