- 19 6月, 1999 1 次提交
-
-
由 Tom Lane 提交于
is parse_aggs.c. This fixes its failure to cope with (at least) CaseExpr and ArrayRef nodes, which is the reason why both of these fail in 6.5: select coalesce(f1,0) from int4_tbl group by f1; ERROR: Illegal use of aggregates or non-group column in target list select sentence.words[0] from sentence group by sentence.words[0]; ERROR: Illegal use of aggregates or non-group column in target list The array case still fails, but at least it's not parse_agg's fault anymore ... considering that we now support CASE officially, I think it's important to fix the first example ...
-
- 26 5月, 1999 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 24 5月, 1999 1 次提交
-
-
由 Tom Lane 提交于
aggregate functions, as in select a, b from foo group by a; The ungrouped reference to b is not kosher, but formerly we neglected to check this unless there was an aggregate function somewhere in the query.
-
- 12 5月, 1999 1 次提交
-
-
由 Jan Wieck 提交于
in Resdom and GroupClause so changing of resno's doesn't confuse the grouping any more. Jan
-
- 29 4月, 1999 1 次提交
-
-
由 Tom Lane 提交于
Things are better now.
-
- 14 2月, 1999 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 24 1月, 1999 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 08 12月, 1998 1 次提交
-
-
由 Thomas G. Lockhart 提交于
Extend new type coersion techniques to aggregates. Clean up a few elog() messages.
-
- 09 9月, 1998 1 次提交
-
-
由 Vadim B. Mikheev 提交于
-
- 01 9月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 19 8月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
no longer returns buffer pointer, can be gotten from scan; descriptor; bootstrap can create multi-key indexes; pg_procname index now is multi-key index; oidint2, oidint4, oidname are gone (must be removed from regression tests); use System Cache rather than sequential scan in many places; heap_modifytuple no longer takes buffer parameter; remove unused buffer parameter in a few other functions; oid8 is not index-able; remove some use of single-character variable names; cleanup Buffer variables usage and scan descriptor looping; cleaned up allocation and freeing of tuples; 18k lines of diff;
-
- 16 6月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 31 3月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
sequential scans! (I think it will also work with hash, index, etc but I did not check it out! I made some High level changes which should work for all access methods, but maybe I'm wrong. Please let me know.) Now it is possible to make queries like: select s.sname, max(p.pid), min(p.pid) from part p, supplier s where s.sid=p.sid group by s.sname having max(pid)=6 and min(pid)=1 or avg(pid)=4; Having does not work yet for queries that contain a subselect statement in the Having clause, I'll try to fix this in the next days. If there are some bugs, please let me know, I'll start to read the mailinglists now! Now here is the patch against the original 6.3 version (no snapshot!!): Stefan
-
- 26 2月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 20 1月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
Add lock to i386 asm.
-
- 16 1月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
Pass List* of Aggregs into executor, and create needed array there. No longer need to double-processs Aggregs with second copy in Query. Fix crash when doing: select sum(x+1) from test where 1 > 0;
-
- 05 1月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 04 1月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 22 12月, 1997 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 26 11月, 1997 3 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-