pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Goodenough <david.goodenough@broadwellmanor.co.uk>
To: pgsql-general@lists.postgresql.org
Subject: Re: The tragedy of SQL
Date: Tue, 14 Sep 2021 14:51:19 +0100
Message-ID: <14317593.GIT0WhtmHf@continuum> (raw)
In-Reply-To: <CAHyXU0xs6cRr-xPjwuLV7eC2Gqd=qUsH9x1sH+d8oHzc80iFug@mail.gmail.com>
References: <4dc338ad-b0aa-4f4c-bd9c-4dc76dda9e8b@Spark>
	<d61c6062-32ae-4892-8993-9ad932e10b91@Spark>
	<CAHyXU0xs6cRr-xPjwuLV7eC2Gqd=qUsH9x1sH+d8oHzc80iFug@mail.gmail.com>

On Tuesday, 14 September 2021 14:06:13 BST Merlin Moncure wrote:
> On Tue, Sep 14, 2021 at 12:32 AM Guyren Howe <guyren@gmail.com> wrote:
> > If I had $5 million to invest in a startup, I would hire as many of the
> > core Postgres devs as I could to make a new database with all the
> > sophistication of Postgres but based on Datalog (or something similar).
> > (Or maybe add Datalog to Postgres). If that could get traction, it would
> > lead in a decade to a revolution in productivity in our industry.
> I've long thought that there is more algebraic type syntax sitting
> underneath SQL yearning to get out.  If you wanted to try something
> like that today, a language pre-compiler or translator which converted
> the code to SQL is likely the only realistic approach if you wanted to
> get traction.  History is not very kind to these approaches though and
> SQL is evolving and has huge investments behind it...much more than 5
> million bucks.
> 
> ORMs a function of poor development culture and vendor advocacy, not
> the fault of SQL. If developers don't understand or are unwilling to
> use joins in language A, they won't in language B either.
> 
> merlin
Back in the day, within IBM there were two separate relational databases.  System-R 
(which came from San Hose) and PRTV (the Peterlee Relational Test vehicle).  As I 
understand it SQL came from System-R and the optimizer (amongst other things) came 
from PRTV.

PRTV (https://en.wikipedia.org/wiki/IBM_Peterlee_Relational_Test_Vehicle_(PRTV)[1]) did 
not use SQL, and was never a released product, except with a graphical add-on which was 
sold to two UK local authorities for urban planning.

So there are (and always have been) different ways to send requests to a relational DB, it is 
just that SQL won the day.


--------
[1] https://en.wikipedia.org/wiki/IBM_Peterlee_Relational_Test_Vehicle_(PRTV)

view thread (61+ messages)  latest in thread

Message-ID: <14317593.GIT0WhtmHf@continuum>
Permalink:  ../14317593.GIT0WhtmHf@continuum/
Also on:    postgresql.org/message-id/14317593.GIT0WhtmHf@continuum

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: david.goodenough@broadwellmanor.co.uk
  Subject: Re: The tragedy of SQL
  In-Reply-To: <14317593.GIT0WhtmHf@continuum>
  References: <4dc338ad-b0aa-4f4c-bd9c-4dc76dda9e8b@Spark> <d61c6062-32ae-4892-8993-9ad932e10b91@Spark> <CAHyXU0xs6cRr-xPjwuLV7eC2Gqd=qUsH9x1sH+d8oHzc80iFug@mail.gmail.com> <14317593.GIT0WhtmHf@continuum>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox