From: Guyren Howe <guyren@gmail.com>
To: Raymond Brinzer <ray.brinzer@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Mladen Gogala <gogala.mladen@gmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Can we go beyond the standard to make Postgres radically better?
Date: Thu, 10 Feb 2022 22:43:25 -0800
Message-ID: <f87c88e1-d4e8-4fd3-a1a5-4dbfc0db6aef@Spark> (raw)
In-Reply-To: <1982299.1644561177@sss.pgh.pa.us>
References: <7117322c-185c-4283-990d-6646d8476409@Spark>
<F04BD036-073C-42AD-B308-43D21C75024B@gmail.com>
<20220210172229.4it7ioddvrtmws37@hjp.at>
<20220210172545.f7vtdcrg325v3xlx@hjp.at>
<YgV//dHwtGVDADUp@momjian.us>
<CAD+mzowO=ZfgeNi7HwYGbNtTCQ--JyvaYLiiBwrPdXcLPeZ3aQ@mail.gmail.com>
<937E9BA7-F8D9-4547-A171-AC1497470A0C@gmail.com>
<1d76a9dc-1260-fea5-86ee-b6ba7bad2927@gmail.com>
<DD28AF26-F6AF-4082-BA1F-7C802465C5E0@gmail.com>
<CANasJHmkqdxRm0=hyQ88Y2OeUWxzvmra3LU3uoKbTZ-GPsyNrw@mail.gmail.com>
<7523152a-fa84-4794-898d-bc50f8d2c896@Spark>
<CANasJHmTg962WLRyufCCadXb=ohVon5tOVNVSz2Kc0wJDU10ew@mail.gmail.com>
<1982299.1644561177@sss.pgh.pa.us>
I get all this. Give me a couple million bucks, and I’ll hire some of the Postgres devs to build a new database. We could crib some of the low-level code from Postgres, but everything above the low level would need to be rewritten.
I was proposing more that we at least provide higher-level, more general, orthogonal etc features in the SQL we have now. eg first-class functions could be added to SQL reasonably easily.
On Feb 10, 2022, 22:32 -0800, Tom Lane <tgl@sss.pgh.pa.us>, wrote:
> Raymond Brinzer <ray.brinzer@gmail.com> writes:
> > Will it be accepted here? I don't know; I'm not an insider, or in a
> > position to say. But it'd be a much better pitch than a pep talk, or
> > speaking in generalities about SQL. And that's coming from someone who
> > actually agrees with you. I'm 100% on board with the idea that something
> > better is (badly) needed. But is the idea, here, really to talk a highly
> > successful project into doing a 180 based on this sort of argument? If
> > only the people writing the code saw the light, they'd go read the Datomic
> > site, and start overhauling PostgreSQL?
>
> Nah, probably not. I mean, not only are we implementing SQL, but
> we're implementing it in C. I used better languages than C back
> in the seventies ... but here we are. Practical acceptance is
> all about infrastructure and compatible tooling, which SQL and C
> both have in spades, while academic designs really don't.
>
> Also, I fear this discussion underestimates the difficulty of
> putting some other query language on top of Postgres. I know
> you'll say "but the Berkeley guys pasted SQL onto a QUEL engine
> back when, so how hard can it be?" In the first place, that
> was done on top of maybe ten years worth of work, but now there's
> another twenty-five years of development agglomerated on top of
> that. So moving things would be more than 3X harder, even if
> you make the very-naive assumption that the difficulty is merely
> linear. In the second place, QUEL and SQL aren't that far apart
> conceptually, and yet we've still had lots of problems that can
> be traced to their incompatibilities. Something that was really
> different from SQL would be a nightmare to embed into PG. I'll
> just point out one example: if you don't like SQL's semantics for
> NULL (which no I don't much like either), changing that would
> probably require touching tens of thousands of lines of code just
> in the PG core, never mind breaking every API used by extensions.
>
> So for better or worse, Postgres is a SQL engine now. If you
> want Datalog or $other_language, you'd be better off starting
> or contributing to some other project.
>
> That's not to say that we can't do stuff around the margins.
> The idea of "select all columns except these", for instance,
> has been discussed quite a bit, and would probably happen if
> we could get consensus on the syntax. But we're not going to
> throw away thirty-five years' worth of work to chase some
> blue-sky ideas.
>
> regards, tom lane
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: guyren@gmail.com, ray.brinzer@gmail.com, tgl@sss.pgh.pa.us, gogala.mladen@gmail.com
Subject: Re: Can we go beyond the standard to make Postgres radically better?
In-Reply-To: <f87c88e1-d4e8-4fd3-a1a5-4dbfc0db6aef@Spark>
References: <7117322c-185c-4283-990d-6646d8476409@Spark> <F04BD036-073C-42AD-B308-43D21C75024B@gmail.com> <20220210172229.4it7ioddvrtmws37@hjp.at> <20220210172545.f7vtdcrg325v3xlx@hjp.at> <YgV//dHwtGVDADUp@momjian.us> <CAD+mzowO=ZfgeNi7HwYGbNtTCQ--JyvaYLiiBwrPdXcLPeZ3aQ@mail.gmail.com> <937E9BA7-F8D9-4547-A171-AC1497470A0C@gmail.com> <1d76a9dc-1260-fea5-86ee-b6ba7bad2927@gmail.com> <DD28AF26-F6AF-4082-BA1F-7C802465C5E0@gmail.com> <CANasJHmkqdxRm0=hyQ88Y2OeUWxzvmra3LU3uoKbTZ-GPsyNrw@mail.gmail.com> <7523152a-fa84-4794-898d-bc50f8d2c896@Spark> <CANasJHmTg962WLRyufCCadXb=ohVon5tOVNVSz2Kc0wJDU10ew@mail.gmail.com> <1982299.1644561177@sss.pgh.pa.us> <f87c88e1-d4e8-4fd3-a1a5-4dbfc0db6aef@Spark>
* 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