SQL99 feature list
SQL99 feature list
От:
Thomas Lockhart <lockhart@fourpalms.org>
Дата:
I've just updated features.sgml to have a list of supported features
followed by a list of unsupported ones. There are some items in the
"unsupported list" which look easy to do. I've got patches for a "MATCH
SIMPLE" clause on referential integrity declarations, and am developing
patches for CREATE CAST, DROP CAST, and probably a few more items which
could be simple parser additions or changes. Look at
http://developer.postgresql.org/docs/postgres/features.html
for the most recent version (it is not there yet but I'd expect it to be
there soon).
I'd like to look at supporting the various shorthand literal notations
like B'0101', X'ABCD', and N'national' in a better way in the lexer to
make sure that the information gets to the parser more robustly. Right
now, N'national' is not supported at all and the other two forms are
supported by transforming the input locally in the lexer which seems to
work but does not extend to the NATIONAL CHARACTER case. Comments and
suggestions are welcome.
Y'all may want to look at features.sgml to find projects if you are
looking for something to do; there are several items which look to be
relatively easy to accomplish and others at various levels of
difficulty...
- Thomas
Re: SQL99 feature list
От:
Hannu Krosing <hannu@tm.ee>
Дата:
On Wed, 2002-06-19 at 08:23, Thomas Lockhart wrote: > I've just updated features.sgml to have a list of supported features > followed by a list of unsupported ones. It seems you have to move (T171, LIKE clause in table definition) to unsupported : hannu=# \dt List of relations Name | Type | Owner ---------+-------+-------t1 | table | hannu (1 row) hannu=# create table t11 (a int,like t1); ERROR: parser: parse error at or near "like" hannu=# create table t11 (a int) inherits (t1); CREATE ------------------- Hannu
Re: SQL99 feature list
От:
Thomas Lockhart <lockhart@fourpalms.org>
Дата:
> It seems you have to move (T171, LIKE clause in table definition) to
> unsupported :
> hannu=# create table t11 (a int,like t1);
> ERROR: parser: parse error at or near "like"
Ah, that's what that means! I'll move it to "unsupported", but it seems
like it might be fairly easy to implement, eh? Anyone interested in
looking at it?
- Thomas
Re: SQL99 feature list
От:
Hannu Krosing <hannu@tm.ee>
Дата:
On Wed, 2002-06-19 at 16:05, Thomas Lockhart wrote: > > It seems you have to move (T171, LIKE clause in table definition) to > > unsupported : > > hannu=# create table t11 (a int,like t1); > > ERROR: parser: parse error at or near "like" > > Ah, that's what that means! I'll move it to "unsupported", but it seems > like it might be fairly easy to implement, eh? It seems like a little more powerful version of PGs INHERITS > Anyone interested in looking at it? This is the full
Re: SQL99 feature list
От:
Thomas Lockhart <lockhart@fourpalms.org>
Дата:
> It seems like a little more powerful version of PGs INHERITS What makes it "more powerful"? I'd guess that it is an attribute copy rather than a declaration of inheritance and could be based on our existing "create table as" feature. ... > I can see some features that are not listed in neither of your feature > lists, like > * ON COMMIT
Re: SQL99 feature list
От:
Hannu Krosing <hannu@tm.ee>
Дата:
On Wed, 2002-06-19 at 16:42, Thomas Lockhart wrote: > > It seems like a little more powerful version of PGs INHERITS > > What makes it "more powerful"? > I'd guess that it is an attribute copy > rather than a declaration of inheritance and could be based on our > existing "create table as" feature. I said "a little" more powerful :) You can specify where the "inherited" table fields are placed which you cant when using INHERITS. I think that 95% of current use of INHERITS is in cases where you don't actually want inheritance :) Regarding which you can probably move (S111: ONLY in query expressions) to supported, with a notice that we dont support (single-inheritance) UNDER but have our own notion of multiple inheritance. I have ideas how to implement UNDER (put everything in one table so that primary keys et. al. are more easyly inherited) but it will be viable only after the same obstacles that fast DROP COLUMN are overcome. > > I can see some features that are not listed in neither of your feature > > lists, like > > * ON COMMIT