Tom Lane
6bfe64032e
Cleanup of code for creating index entries. Functional indexes with
...
pass-by-ref data types --- eg, an index on lower(textfield) --- no longer
leak memory during index creation or update. Clean up a lot of redundant
code ... did you know that copy, vacuum, truncate, reindex, extend index,
and bootstrap each basically duplicated the main executor's logic for
extracting information about an index and preparing index entries?
Functional indexes should be a little faster now too, due to removal
of repeated function lookups.
CREATE INDEX 'opt_type' clause is deimplemented by these changes,
but I haven't removed it from the parser yet (need to merge with
Thomas' latest change set first).
2000-07-14 22:18:02 +00:00
Tom Lane
341b328b18
Fix a bunch of minor portability problems and maybe-bugs revealed by
...
running gcc and HP's cc with warnings cranked way up. Signed vs unsigned
comparisons, routines declared static and then defined not-static,
that kind of thing. Tedious, but perhaps useful...
2000-03-17 02:36:41 +00:00
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.
2000-01-26 05:58:53 +00:00
Tom Lane
ecd0bfa81a
Look Ma, no MAX_PARSE_BUFFER! (At least not in the backend.
...
pg_dump and interfaces/odbc still need some work.)
1999-10-23 03:13:33 +00:00
Bruce Momjian
faf7d78174
Install new alignment code to use MAXALIGN rather than DOUBLEALIGN where
...
approproate.
1999-07-19 07:07:29 +00:00
Bruce Momjian
773088809d
More cleanup
1999-07-16 17:07:40 +00:00
Bruce Momjian
a9591ce66a
Change #include's to use <> and "" as appropriate.
1999-07-15 23:04:24 +00:00
Bruce Momjian
4b2c2850bf
Clean up #include in /include directory. Add scripts for checking includes.
1999-07-15 15:21:54 +00:00
Bruce Momjian
6724a50787
Change my-function-name-- to my_function_name, and optimizer renames.
1999-02-13 23:22:53 +00:00
Bruce Momjian
fa1a8d6a97
OK, folks, here is the pgindent output.
1998-09-01 04:40:42 +00:00
Bruce Momjian
af74855a60
Renaming cleanup, no pgindent yet.
1998-09-01 03:29:17 +00:00
Bruce Momjian
27db9ecd0b
Fix macros that were not properly surrounded by parens or braces.
1998-06-15 18:40:05 +00:00
Bruce Momjian
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
1998-02-26 04:46:47 +00:00
Bruce Momjian
ec9d5d71ec
Update now that attcacheoff initial value is -1 always.
1998-02-06 20:18:01 +00:00
Bruce Momjian
d8ddb10f51
Reduce size of inlining.
1998-02-01 05:38:40 +00:00
Bruce Momjian
726c3854cb
Inline fastgetattr and others so data access does not use function
...
calls.
1998-01-31 04:39:26 +00:00
Bruce Momjian
7229513943
Fix prototypes so they don't look like function definitions.
1998-01-24 22:50:57 +00:00
Bruce Momjian
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
1997-09-08 21:56:23 +00:00
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
1997-09-08 02:41:22 +00:00
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
1997-09-07 05:04:48 +00:00
Bruce Momjian
1d8bbfd2e7
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
1997-08-19 21:40:56 +00:00
Marc G. Fournier
bc711a3f54
Another one bits the dust...
1996-11-05 07:20:09 +00:00
Marc G. Fournier
0c960e7fc0
More include file cleanups
1996-11-03 08:17:38 +00:00
Marc G. Fournier
d0bfb6b78d
slow work...
1996-10-19 04:08:58 +00:00
Marc G. Fournier
5a8820efcd
Moved from backend/access to include/access
1996-08-27 21:50:29 +00:00