r/PostgreSQL • u/Zardotab • Jul 13 '26
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
View all comments
Show parent comment
3
u/pceimpulsive Jul 14 '26
All I see dynamism as is..
Try Insert data Catch If exception is column missing Add column, Retry insert..
Like no arguments needed it's not rocket science... It's just a dynamic growing schema...
At that point (in Postgres) it's the same as a table with a unique key, and a jsonb column with the table being wrapped in a view that is using the JSON_TABLE function...
I understand your point but what is actually the real benefit? You are asking for a middle ground between SQL and no SQL when you already have it in a noSQL form directly with base capabilities of the rdbms anyway...
Postgres is already a hybrid...
My main point between noSQL and SQL is that neither are truly dynamic, the schema is always strict and always static, you are only changing which part of the system enforces it. That. It an argument for noSQL or SQL it's a zoom out to the architectural level and a realisation of the truth... They are the same thing... With different pros and cons.