22 points hnisjafx40 2 days ago 9 comments

anonymous908213 1 hour ago | parent

Friendly reminder that database software is the literal last thing you want to entrust to vibe coders.

agentdev001 1 hour ago | parent

I thought that the name of this undo implementation was Muhammad Aqeel. Its PgVolvra, which is arguably a worse name- phonetically.

SweetSoftPillow 1 hour ago | parent

Let's call it Muhammad Aqeel then.

a34729t 19 minutes ago | parent

Honestly a better name

redrove 56 minutes ago | parent

Can’t unsee PgVulva

forinti 53 minutes ago | parent

This is really cool.

My org uses log tables and triggers and I wish that databases would offer something like this in a declarative manner.

gavinray 19 minutes ago | parent

  > pgVolvra records every row change on the tables you choose. For each change, it keeps the row as it was, and the row as it became, along with who made the change, when, and in which transaction. When something goes wrong, it uses that record to put the affected rows back, and it touches nothing else.
You've essentially replicated the WAL s functionality

I'd imagine you could actually build this reusing a lot of the existing WAL code if you were Inclined

forinti 5 minutes ago | parent

You might not even have the WAL from long ago.

I see this as an easier way to create a log table.