News for hackers. Stuff that matters.
Re:Postgres for everything (e/Postgres) by vineyardmike on Saturday December 07, 2024 @03:28AM (#42348201)
Yes.

But actually, yes. Sometimes the format changes, sometimes you want to store an extra bit of data that should only be exposed internally. Sometimes you realize that storing a timestamp as a unix-time int no longer cuts it, and you have to migrate to an ISO 8601 time, or whatever, or you add a flag to your records for some A/B test feature, that is intentionally not going to last forever, and should only be internal.

You probably want that layer anyways, for things like AuthN/Z.

If you're going to publicly expose an API, it's got to be stable for a while - that's a commitment you're implicitly making. That's hard enough to maintain without now also committing to stability in your internal representation of data.

There are no comments on this comment yet.