pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guyren Howe <guyren@gmail.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
To: Pavel Stehule <pavel.stehule@gmail.com>
Subject: Re: Can we go beyond the standard to make Postgres radically better?
Date: Sun, 13 Feb 2022 01:45:48 -0800
Message-ID: <b1ccc12b-0b73-4017-aa3e-3b2854342105@Spark> (raw)
In-Reply-To: <CAFj8pRCahPVgXKcgGoYgBYK=EzzVVh=0Jt2ECJn1Lkv678rd2g@mail.gmail.com>
References: <7117322c-185c-4283-990d-6646d8476409@Spark>
	<F04BD036-073C-42AD-B308-43D21C75024B@gmail.com>
	<20220210172229.4it7ioddvrtmws37@hjp.at>
	<eafc22b5-703d-2993-b4bc-4edad404f63f@pgug.de>
	<20220212195057.amvpuhytkkcndyhh@hjp.at>
	<ade50b0c-a69e-3d8d-3f70-52363fff24ae@pgug.de>
	<20220212213453.tordj3445pgyxonq@hjp.at>
	<3a50f4fb-3b62-cd5c-a60c-a7211c7f7a5e@pgug.de>
	<20220213082914.zet7f5ojb4z2laov@hjp.at>
	<CAFj8pRCahPVgXKcgGoYgBYK=EzzVVh=0Jt2ECJn1Lkv678rd2g@mail.gmail.com>


> > The MySQL autocomplete is designed without context filtering. Maybe we can have this implementation too (as alternative)
> >
> > so using all column names + all table names + aliases.column names (when we know defined alias)
> >
> > Another idea about column excluding. Any implementation on the client side is very complex, because you need to parse sql. But maybe we can enhance SQL with some syntax.
> >
> > SELECT ... and LAST optional clause can be HIDE, OR EXCLUDE NAME or EXCLUDE TYPE
> >
> > SELECT * FROM postgistab HIDE TYPE LIKE 'wkb%'
> > SELECT * FROM postgistab ORDER BY ... EXCLUDE COLUMN LIKE 'shape%'
> >
> > WITH x AS (SELECT * FROM xx)
> > SELECT * FROM x EXCLUDE COLUMN x1,x2
> >
> > The column excluding should be separate *last* clase.
> >
> > More with this syntax is less possibility of collision with ANSI SQL
Not against this. Seems somewhere in here might be a nice quality of life change.

Still.

I originally suggested that SQL is terrible and we should fearlessly either replace it or migrate it toward something better. And the thread winds up with a debate about a minor change to a development tool.

I’m back to just having no earthly idea why anyone who finds relations to be a productive tool for building a model would think that SQL being the only means to do that is Okay.

SMH.

view thread (50+ messages)  latest in thread

Message-ID: <b1ccc12b-0b73-4017-aa3e-3b2854342105@Spark>
Permalink:  ../b1ccc12b-0b73-4017-aa3e-3b2854342105@Spark/
Also on:    postgresql.org/message-id/b1ccc12b-0b73-4017-aa3e-3b2854342105@Spark

 · 

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: guyren@gmail.com, pavel.stehule@gmail.com
  Subject: Re: Can we go beyond the standard to make Postgres radically better?
  In-Reply-To: <b1ccc12b-0b73-4017-aa3e-3b2854342105@Spark>
  References: <7117322c-185c-4283-990d-6646d8476409@Spark> <F04BD036-073C-42AD-B308-43D21C75024B@gmail.com> <20220210172229.4it7ioddvrtmws37@hjp.at> <eafc22b5-703d-2993-b4bc-4edad404f63f@pgug.de> <20220212195057.amvpuhytkkcndyhh@hjp.at> <ade50b0c-a69e-3d8d-3f70-52363fff24ae@pgug.de> <20220212213453.tordj3445pgyxonq@hjp.at> <3a50f4fb-3b62-cd5c-a60c-a7211c7f7a5e@pgug.de> <20220213082914.zet7f5ojb4z2laov@hjp.at> <CAFj8pRCahPVgXKcgGoYgBYK=EzzVVh=0Jt2ECJn1Lkv678rd2g@mail.gmail.com> <b1ccc12b-0b73-4017-aa3e-3b2854342105@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