Better HN
topnewbestaskshowjobs
Log inSign up

jeeybee

277 karma · joined Feb 22, 2024 (2y ago) · 100 submissions

Submissions

1.

Show HN: Straum – A Postgres sidecar that keeps your dashboard aggregates live(github.com ↗)

1 points · by jeeybee · 2d ago · discuss

2.

Show HN: Straum – Live Postgres aggregates without triggers or extensions(github.com ↗)

1 points · by jeeybee · 3d ago · discuss

3.

Show HN: Straum – a Postgres materialized view that is never stale(github.com ↗)

1 points · by jeeybee · 4d ago · discuss

4.

Show HN: Straum – PostgreSQL Group by in Microseconds(github.com ↗)

2 points · by jeeybee · 1w ago · discuss

5.

UUIDv7 vs. sequences: locality, information leakage, and pagination(gist.github.com ↗)

1 points · by jeeybee · 2mo ago · discuss

6.

Show HN: Pgnudge – tell your app which Postgres tables just changed(github.com ↗)

1 points · by jeeybee · 4mo ago · discuss

7.

Show HN: Pgnudge - tell your app which Postgres tables just changed(github.com ↗)

3 points · by jeeybee · 4mo ago · discuss

8.

Show HN: PgQueuer v1.0 – Python job queue using only PostgreSQ(github.com ↗)

2 points · by jeeybee · 6mo ago · discuss

comment 7mo ago · link · parent

Added a mcp command for it, but i might add it as a comfig as well?

https://github.com/janbjorge/rekal/pull/14/changes

comment 7mo ago · link · parent

Thanks, i will look into making them configurable.

comment 7mo ago · link · parent

The 0.4/0.4/0.2 weights are just based of hand wavy trail an error, will look into other options. I could make them configurable?

comment 7mo ago · link · parent

Thanks! You're right, that's just a relic of my dev environment. Will broaden the version requirement.

13.

Show HN: Rekal – Long-term memory for LLMs in a single SQLite file(github.com ↗)

9 points · by jeeybee · 7mo ago · 10 comments

comment 7mo ago · link · parent

Did you test with fillfactor < 100 on the queue table? With HOT updates, status changes can reuse dead space without creating new index entries, which seems like it could significantly delay the onset of the death spiral?

comment 7mo ago · link · parent

No config step, the tools discover everything from pg_catalog at call time. list_schemas → list_tables → describe_table is the typical agent workflow, and there's a query_guide prompt baked in that suggests that progression.

On query guardrails: every query runs in a readonly transaction and results are capped at 500 rows via a wrapping SELECT * FROM (...) sub LIMIT 500. There's also explain_query which returns the plan without executing, so agents can check before running something expensive. That said, there's no cost-based gate that blocks a bad plan automatically; that's an interesting idea worth exploring.

comment 7mo ago · link · parent

Thanks! Read-only felt like the obvious constraint; agents shouldn't need write access to understand a database.

comment 8mo ago · link · parent

Most Postgres MCP servers expose query and list_tables. Agents end up guessing column values, enum casing, and join paths - then retrying until something works.

pglens gives agents the context to get it right the first time: column_values shows real distinct values with counts, find_join_path does BFS over the FK graph and returns join conditions through intermediate tables, describe_table gives columns/PKs/FKs/indexes in one call. Plus production health tools like bloat_stats, blocking_locks, and sequence_health.

Everything runs in readonly transactions, identifiers escaped via Postgres's quote_ident(), no extensions required. Works on any Postgres 12+ (self-hosted, RDS, Aurora, etc.). Two dependencies: asyncpg and mcp.

https://github.com/janbjorge/pglens

pip install pglen

18.

Show HN: Pglens – 27 read-only PostgreSQL tools for AI agents via MCP(github.com ↗)

13 points · by jeeybee · 8mo ago · 7 comments

19.

Show HN: Pglens – Postgres MCP server that lets agents look before they query(github.com ↗)

3 points · by jeeybee · 8mo ago · discuss

20.

Show HN: GYML – YAML syntax, JSON semantics, zero runtime dependencies(github.com ↗)

1 points · by jeeybee · 8mo ago · discuss

21.

Show HN: PgQueuer – A PostgreSQL job queue that works without PostgreSQL(github.com ↗)

2 points · by jeeybee · 8mo ago · discuss

1234