Re: Quick question about 7.1 & SQL92 Entry Level

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter T Mount <peter(at)retep(dot)org(dot)uk>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Quick question about 7.1 & SQL92 Entry Level
Date: 2001-02-16 17:47:26
Message-ID: 12447.982345646@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter T Mount <peter(at)retep(dot)org(dot)uk> writes:
> Just a quick question, but how much of SQL92 Entry Level does 7.1
> support, and what parts haven't we got (yet)?

I don't think anyone's made a careful list --- making one is on my
personal to-do list for the near future, but not yet at the top.

Schemas are one big item I know we are missing, and the privileges
mechanism needs a revamp as well.

Peter Eisentraut made a list a year ago (see attached) but that was
as of 6.5, and I'm not sure how careful he was.

regards, tom lane

------- Forwarded Message

Date: Sat, 19 Feb 2000 15:12:24 +0100 (CET)
From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
cc: PostgreSQL Development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: [HACKERS] Re: SQL compliance

On 2000-02-17, Thomas Lockhart mentioned:

> I've since seen the article in the latest issue of PCWeek. The article
> was not at all clear on the *specific* features which would disqualify
> Postgres from having SQL92 entry level compliance

I dug through the standard to come up with a list. I probably missed some
things, but they would be more of a lexical nature. I think I covered all
language constructs (which is what people look at anyway). Some of these
things I never used, so I merely tested them by looking at the current
documentation and/or entering a simple example query. Also, this list
doesn't care whether an implemented feature contains bugs that would
actually disqualify it from complete compliance.

* TIME and TIMESTAMP WITH TIMEZONE missing [6.1]

* Things such as SELECT MAX(ALL x) FROM y; don't work. [6.5]
{This seems to be an easy grammar fix.}

* LIKE with ESCAPE clause missing [8.5]
{Is on TODO.}

* SOME / ANY doesn't seem to exist [8.7]

* Grant privileges have several deficiencies [10.3, 11.36]

* Schemas [11.1, 11.2]

* CREATE VIEW name (x, y, z) doesn't work [11.19]

* There's a WITH CHECK OPTION clause for CREATE VIEW [11.19]

* no OPEN statement [13.2]

* FETCH syntax has a few issues [13.3]

* SELECT x INTO a, b, c table [13.5]

* DELETE WHERE CURRENT OF [13.6]

* INSERT INTO table DEFAULT VALUES [13.8]
{Looks like a grammar fix as well.}

* UPDATE WHERE CURRENT OF [13.9]

* no SQLSTATE, SQLCODE [22.1, 22.2]
{Not sure about that one, since the sections don't contain leveling
information.}

* default transaction isolation level is SERIALIZABLE
{Why isn't ours?}

* no autocommit in SQL

* modules? [12]

* Some type conversion problems. For example a DECIMAL field should not
dump out as NUMERIC, and a FLOAT(x) field should be stored as such.

[* Haven't looked at Embedded SQL.]

That's it. :)

--
Peter Eisentraut Sernanders vg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

************

------- End of Forwarded Message

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-02-16 18:02:24 Re: Something smells in this schema...
Previous Message The Hermit Hacker 2001-02-16 17:39:08 beta5 ...