postgresql/src/backend
Tom Lane 751a14e60c Repair longstanding violation of SQL92 semantics: GROUP BY would
interpret a column name as an output column alias (targetlist AS name),
ather than a real column name as it ought to.  According to the spec,
only ORDER BY should look at output column names.  I left in GROUP BY's
willingness to use an output column number ('GROUP BY 2'), even though
this is also contrary to the spec --- again, only ORDER BY is supposed
to accept that.  But there is no possible reason to want to GROUP BY
an integer constant, so keeping this old behavior won't break any
SQL-compliant queries.  DISTINCT ON will behave the same as GROUP BY.

Change numerology regress test, which depended on the incorrect
behavior.
2000-02-19 23:45:07 +00:00
..
access Implement reindex command 2000-02-18 09:30:20 +00:00
bootstrap Implement reindex command 2000-02-18 09:30:20 +00:00
catalog Implement reindex command 2000-02-18 09:30:20 +00:00
commands Get rid of postgres.c's separate parsing logic for PGDATESTYLE env. 2000-02-19 22:10:47 +00:00
executor Implement reindex command 2000-02-18 09:30:20 +00:00
lib Fix problems seen in parallel regress tests when SI buffer overruns (causing 2000-01-31 04:35:57 +00:00
libpq Add: 2000-01-26 05:58:53 +00:00
main Add: 2000-01-26 05:58:53 +00:00
nodes New cost model for planning, incorporating a penalty for random page 2000-02-15 20:49:31 +00:00
optimizer Plug some more memory leaks in the planner. It still leaks like a sieve, 2000-02-18 23:47:31 +00:00
parser Repair longstanding violation of SQL92 semantics: GROUP BY would 2000-02-19 23:45:07 +00:00
port Add: 2000-01-26 05:58:53 +00:00
postmaster Implement reindex command 2000-02-18 09:30:20 +00:00
regex Removed MBFLAGS from makefiles since it's now done in include/config.h. 2000-01-19 02:59:03 +00:00
rewrite Redesign DISTINCT ON as discussed in pgsql-sql 1/25/00: syntax is now 2000-01-27 18:11:50 +00:00
storage Fix assert bug(was my fault) 2000-02-17 05:00:38 +00:00
tcop Get rid of postgres.c's separate parsing logic for PGDATESTYLE env. 2000-02-19 22:10:47 +00:00
tioga Add: 2000-01-26 05:58:53 +00:00
utils Implement reindex command 2000-02-18 09:30:20 +00:00
Makefile I have done the QNX4 port with the current source tree. The number of 1999-12-16 01:25:23 +00:00