Commit Graph

106 Commits (0dda75f6eb4bb9d65a7c2ad729fbf21d616c1bb1)

Author SHA1 Message Date
Tom Lane e649796f12 Implement outer-level aggregates to conform to the SQL spec, with 23 years ago
Tom Lane d24d75ff19 Small performance improvement for hash joins and hash aggregation: 23 years ago
Tom Lane 145014f811 Make further use of new bitmapset code: executor's chgParam, extParam, 23 years ago
Tom Lane 85caf1784a Detect duplicate aggregate calls and evaluate only one copy. This 23 years ago
Tom Lane 1afac12910 Create a new file executor/execGrouping.c to centralize utility routines 23 years ago
Tom Lane 5bab36e9f6 Revise executor APIs so that all per-query state structure is built in 23 years ago
Tom Lane 3a4f7dde16 Phase 3 of read-only-plans project: ExecInitExpr now builds expression 23 years ago
Tom Lane a0bf885f9e Phase 2 of read-only-plans project: restructure expression-tree nodes 23 years ago
Tom Lane 1fd0c59e25 Phase 1 of read-only-plans project: cause executor state nodes to point 23 years ago
Tom Lane f68f11928d Tighten selection of equality and ordering operators for grouping 23 years ago
Tom Lane b60be3f2f8 Add an at-least-marginally-plausible method of estimating the number 23 years ago
Bruce Momjian 9b12ab6d5d Add new palloc0 call as merge of palloc and MemSet(0). 23 years ago
Bruce Momjian 75fee4535d Back out use of palloc0 in place if palloc/MemSet. Seems constant len 23 years ago
Bruce Momjian 8fee9615cc Merge palloc()/MemSet(0) calls into a single palloc0() call. 23 years ago
Tom Lane 2103b7baa2 Phase 2 of hashed-aggregation project. nodeAgg.c now knows how to do 23 years ago
Tom Lane f6dba10e62 First phase of implementing hash-based grouping/aggregation. An AGG plan 23 years ago
Tom Lane 884cd4b6be Reduce a couple of debugging messages from LOG to DEBUG1 category. 23 years ago
Tom Lane 3b8ba163d0 Tweak a few of the most heavily used function call points to zero out 23 years ago
Tom Lane 6d0d15c451 Make the world at least somewhat safe for zero-column tables, and 23 years ago
Tom Lane b26dfb9522 Extend pg_cast castimplicit column to a three-way value; this allows us 23 years ago
Bruce Momjian e50f52a074 pgindent run. 23 years ago
Bruce Momjian d84fe82230 Update copyright to 2002. 24 years ago
Tom Lane 22d641a7d4 Get rid of the last few uses of typeidTypeName() rather than 24 years ago
Tom Lane 857661ba2e Enforce EXECUTE privilege for aggregate functions. 24 years ago
Tom Lane 6cef5d2549 Operators live in namespaces. CREATE/DROP/COMMENT ON OPERATOR take 24 years ago
Tom Lane 902a6a0a4b Restructure representation of aggregate functions so that they have pg_proc 24 years ago
Tom Lane 337b22cb47 Code review for DOMAIN patch. 24 years ago
Bruce Momjian a033daf566 Commit to match discussed elog() changes. Only update is that LOG is 24 years ago
Bruce Momjian b81844b173 pgindent run on all C files. Java run to follow. initdb/regression 24 years ago
Bruce Momjian 0686d49da0 Remove dashes in comments that don't need them, rewrap with pgindent. 25 years ago
Bruce Momjian 9e1552607a pgindent run. Make it all clean. 25 years ago
Tom Lane 13cc7eb3e2 Clean up two rather nasty bugs in operator selection code. 25 years ago
Tom Lane db3ac67d8f Update comments about memory management. 25 years ago
Bruce Momjian 623bf843d2 Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 25 years ago
Tom Lane a933ee38bb Change SearchSysCache coding conventions so that a reference count is 25 years ago
Tom Lane 782c16c6a1 SQL-language functions are now callable in ordinary fmgr contexts ... 25 years ago
Tom Lane bec98a31c5 Revise aggregate functions per earlier discussions in pghackers. 26 years ago
Tom Lane badce86a2c First stage of reclaiming memory in executor by resetting short-term 26 years ago
Tom Lane 1aebc3618a First phase of memory management rewrite (see backend/utils/mmgr/README 26 years ago
Bruce Momjian df43800fc8 Clean up #include's. 26 years ago
Tom Lane 0f1e39643d Third round of fmgr updates: eliminate calls using fmgr() and 26 years ago
Bruce Momjian a12a23f0d0 Remove unused include files. Do not touch /port or includes used by defines. 26 years ago
Tom Lane 0a7fb4e918 First round of changes for new fmgr interface. fmgr itself and the 26 years ago
Bruce Momjian 52f77df613 Ye-old pgindent run. Same 4-space tabs. 26 years ago
Bruce Momjian 5c25d60244 Add: 26 years ago
Tom Lane 6d1efd76fb Fix handling of NULL constraint conditions: per SQL92 spec, a NULL result 26 years ago
Tom Lane a8ae19ec3d aggregate(DISTINCT ...) works, per SQL spec. 26 years ago
Tom Lane c60ecd8f8c Ooops ... 6.5 coding wasn't quite right anymore. Should learn 26 years ago
Tom Lane b021e9a130 Put back code in nodeAgg to generate a dummy all-nulls input tuple 26 years ago
Tom Lane 5ce158c534 Remove a no-longer-needed kluge for degenerate aggregate cases, 26 years ago