Re: Allowing postgresql to accept 0xff syntax for data types that it makes sense for? - Mailing list pgsql-general

From Brown, Joseph E.
Subject Re: Allowing postgresql to accept 0xff syntax for data types that it makes sense for?
Date
Msg-id 5987754955d648b39a4a81b527324359@APATLISDMAIL03.core.gtri.org
Whole thread Raw
In response to Re: Allowing postgresql to accept 0xff syntax for data types that it makes sense for?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Allowing postgresql to accept 0xff syntax for data types that it makes sense for?
List pgsql-general
Unsubscribe pgsql-general

-----Original Message-----
From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Tom Lane
Sent: Thursday, May 21, 2015 1:57 PM
To: Bill Moran
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Allowing postgresql to accept 0xff syntax for data types that it makes sense for?

Bill Moran <wmoran@potentialtech.com> writes:
> My other question: is there a specific reason why PostgreSQL doesn't
> support this syntax, aside from "nobody has bothered to add such
> support"? Because I'm considering writing a patch to Postgres and
> submitting it, but I'm not going to go down that path if there's a
> specific reason why supporting this syntax would be _bad_. Personally,
> I feel like it would be a good thing, as it seems like a lot of other
> database systems support it, and even though it's not ANSI, it's pretty much the de-facto standard.

How many is "a lot", and do any of the responsible vendors sit on the SQL standards committee?

One large concern about doing anything like this is whether future versions of the SQL standard might blindside us with
somenot-terribly-compatible interpretation of that syntax.  If we do something that is also in Oracle or DB2 or one of
theother big boys, then we can probably rely on the assumption that they'll block anything really incompatible from
becomingstandardized ;-). 

OTOH, if the actual meaning of "a lot" is "MySQL", I'd be pretty worried about this scenario.

            regards, tom lane


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


pgsql-general by date:

Previous
From: Daniel Torres
Date:
Subject: Re: date with month and year
Next
From: Melvin Davidson
Date:
Subject: Re: Replicate over pgbouncer?