Bruce Momjian
d84fe82230
Update copyright to 2002.
24 years ago
Bruce Momjian
b81844b173
pgindent run on all C files. Java run to follow. initdb/regression
...
tests pass.
25 years ago
Bruce Momjian
0686d49da0
Remove dashes in comments that don't need them, rewrap with pgindent.
25 years ago
Bruce Momjian
623bf843d2
Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group.
25 years ago
Tom Lane
badce86a2c
First stage of reclaiming memory in executor by resetting short-term
...
memory contexts. Currently, only leaks in expressions executed as
quals or projections are handled. Clean up some old dead cruft in
executor while at it --- unused fields in state nodes, that sort of thing.
26 years ago
Bruce Momjian
a12a23f0d0
Remove unused include files. Do not touch /port or includes used by defines.
26 years ago
Bruce Momjian
52f77df613
Ye-old pgindent run. Same 4-space tabs.
26 years ago
Tom Lane
dd979f66be
Redesign DISTINCT ON as discussed in pgsql-sql 1/25/00: syntax is now
...
SELECT DISTINCT ON (expr [, expr ...]) targetlist ...
and there is a check to make sure that the user didn't specify an ORDER BY
that's incompatible with the DISTINCT operation.
Reimplement nodeUnique and nodeGroup to use the proper datatype-specific
equality function for each column being compared --- they used to do
bitwise comparisons or convert the data to text strings and strcmp().
(To add insult to injury, they'd look up the conversion functions once
for each tuple...) Parse/plan representation of DISTINCT is now a list
of SortClause nodes.
initdb forced by querytree change...
26 years ago
Bruce Momjian
5c25d60244
Add:
...
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
to all files copyright Regents of Berkeley. Man, that's a lot of files.
26 years ago
Bruce Momjian
86ef36c907
New NameStr macro to convert Name to Str. No need for var.data anymore.
...
Fewer calls to nameout.
Better use of RelationGetRelationName.
27 years ago
Bruce Momjian
3406901a29
Move some system includes into c.h, and remove duplicates.
27 years ago
Bruce Momjian
a71802e12e
Final cleanup.
27 years ago
Bruce Momjian
9b645d481c
Update #include cleanups
27 years ago
Bruce Momjian
2e6b1e63a3
Remove unused #includes in *.c files.
27 years ago
Bruce Momjian
6724a50787
Change my-function-name-- to my_function_name, and optimizer renames.
27 years ago
Tom Lane
d03e98737c
Replace typtoout() and gettypelem() with a single routine,
...
so that fetching an attribute value needs only one SearchSysCacheTuple call
instead of two redundant searches. This speeds up a large SELECT by about
ten percent, and probably will help GROUP BY and SELECT DISTINCT too.
27 years ago
Vadim B. Mikheev
6beba218d7
New HeapTuple structure/interface.
28 years ago
Bruce Momjian
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
28 years ago
Vadim B. Mikheev
f0e7e2faa4
ExecReScan for Unique & Sort nodes.
28 years ago
Vadim B. Mikheev
b1b246ab40
New nodeGroup.c code uses own copy of first tuple in a group.
...
Free memory after comparison in nodeUnique.c
28 years ago
Bruce Momjian
0386a50f31
Pass around typmod as int16.
28 years ago
Bruce Momjian
2c482cdbf2
Pass attypmod through to executor by adding to Var and Resdom.
28 years ago
Bruce Momjian
726c3854cb
Inline fastgetattr and others so data access does not use function
...
calls.
28 years ago
Bruce Momjian
1ea01720d5
heapattr functions now return a Datum, not char *.
29 years ago
Bruce Momjian
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
29 years ago
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
29 years ago
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
29 years ago
Bruce Momjian
75c6c2b608
Inlined heap_getattr().
29 years ago
Bruce Momjian
a5dd06f763
include sem.h added, include string.h neede, from Erik Bertelsen for Ultrix
29 years ago
Bruce Momjian
c9c0e111b8
More compile cleanups
30 years ago
Bruce Momjian
4b2b8592a0
Compile and warning cleanup
30 years ago
Marc G. Fournier
3df33180a1
add #include "postgres.h", as required by all .c files
30 years ago
Marc G. Fournier
6562fa851e
Fixes:
...
'select distinct on' causes backend to crash
submitted by: Chris Dunlop chris@onthe.net.au
30 years ago
Marc G. Fournier
d31084e9d1
Postgres95 1.01 Distribution - Virgin Sources
30 years ago