Re: SQL feature requests

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Chuck McDevitt <cmcdevitt(at)greenplum(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Gregory Stark <stark(at)enterprisedb(dot)com>, Michael Glaesemann <grzm(at)seespotcode(dot)net>, Ben Tilly <btilly(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: SQL feature requests
Date: 2007-08-23 18:53:40
Message-ID: 46CDD7B4.3@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Chuck McDevitt wrote:
> PostgreSQL already has a huge amount of
> "non-standard" syntax and semantics (perhaps "extensions" is a better
> word?).
> Everything from non-standard cast operator, non-standard substr,
> non-standard trim, non standard group by semantics (allowing simple ints
> to mean column number)... Given a day, we could probably write down
> several pages of "non-standard" features of PGSQL.
>
>
>

Quite so, and I've perpetrated a few myself. But for the most part they
are either there for legacy reasons or add significant extra functionality.

I rather like Alvaro's compromise suggestion re aliases in fact. At
least there seems to be a better case for that than for "group by 'blurfl'".

But the argument that convinces me is not that it follows some de facto
standard, but that it would add to clarity. Requiring an alias where it
isn't used seems to me a piece of less than excellent design.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2007-08-23 19:11:36 Re: [COMMITTERS] pgsql: Add configure option --with-system-tzdata to use operating system
Previous Message Chuck McDevitt 2007-08-23 18:25:01 Re: SQL feature requests