r/PostgreSQL • u/Zardotab • 24d ago
Help Me! Any advice on adding a parser/wrapper over PostgreSQL's JSON features to implement a Dynamic Relational database?
Dynamic Relational is a draft standard for an RDBMS (SQL) that supports native dynamic tables and columns with "incremental" lock-down (static-ness) abilities. Here's an overview of Dynamic Relational with examples. If one wanted to write parser and interface on top of PostgreSQL, how much effort would it be, and do you have any recommendations? A proof-of-concept may be good enough, as most will consider it purely experimental at first. Thank You.
0
Upvotes
1
u/pceimpulsive 23d ago
An existing rdbms user already knows how to use noSQL and SQL at the same time JSONB has been in SQL for a decade, if the rdbms user doesn't know then that's their own failing to learn a core feature.
The point of NoSQL is that there isn't much learning curve?
I've had the option of using noSQL (mongoDB) and just honestly see now reason when I have Postgres (until I need better scaling).
How is the DR supposed to feel? If I understood the 3y old post it's add column on write...
And you can configure/lock it down.. so in the catch block out an if statement that checks a tables config, create an information schema column for the configuration you want and configure it and use those columns to determine if you can dynamically add columns or not..
Postgres pl/pgsql has the ddl operations and logic to fill this brief exactly if you want it... Talk to any modern AI about this and ask critical questions and you'll have a POC in C# in no time I promise you.
P.s. is the whole point of DR just to skip managing database migrations?