Bruce Momjian
278bbf4572
Make functions static or NOT_USED as appropriate.
27 years ago
Bruce Momjian
07842084fe
pgindent run over code.
27 years ago
Tom Lane
95cc41b81d
Revise backend libpq interfaces so that messages to the frontend
...
can be generated in a buffer and then sent to the frontend in a single
libpq call. This solves problems with NOTICE and ERROR messages generated
in the middle of a data message or COPY OUT operation.
27 years ago
Bruce Momjian
6724a50787
Change my-function-name-- to my_function_name, and optimizer renames.
27 years ago
Marc G. Fournier
9396802f14
more cleanups...of note, appendStringInfo now performs like sprintf(),
...
27 years ago
Tom Lane
8f5ff4cf1c
Fix a potential infinite loop in appendStringInfo: would lock
...
up if first string to be appended to an empty StringInfo was longer
than the initial space allocation.
Also speed it up slightly.
28 years ago
Bruce Momjian
af74855a60
Renaming cleanup, no pgindent yet.
28 years ago
Bruce Momjian
6bd323c6b3
Remove un-needed braces around single statements.
28 years ago
Bruce Momjian
2ffd727531
ASSERT fixes.
28 years ago
Bruce Momjian
9a0dd4fb18
There's a patch attached to fix gcc 2.8.x warnings, except for the
...
yyerror ones from bison. It also includes a few 'enhancements' to
the C programming style (which are, of course, personal).
The other patch removes the compilation of backend/lib/qsort.c, as
qsort() is a standard function in stdlib.h and can be used any
where else (and it is). It was only used in
backend/optimizer/geqo/geqo_pool.c, backend/optimizer/path/predmig.c,
and backend/storage/page/bufpage.c
> > Some or all of these changes might not be appropriate for v6.3,
since we > > are in beta testing and since they do not affect the
current functionality. > > For those cases, how about submitting
patches based on the final v6.3 > > release?
There's more to come. Please review these patches. I ran the
regression tests and they only failed where this was expected
(random, geo, etc).
Cheers,
Jeroen
28 years ago
Bruce Momjian
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
28 years ago
Bruce Momjian
24cab6bd0d
Goodbye register keyword. Compiler knows better.
28 years ago
Bruce Momjian
679d39b9c8
Goodbye ABORT. Hello ERROR for all errors.
28 years ago
Bruce Momjian
e9dc636e0c
Cleanup of outnodes.
28 years ago
Bruce Momjian
9d00fbbeb0
Change some labels in bootparse to make ctags happy. Clean up outfunc/readfunc code and add missing fields for Query structure and new Union fields. Fix optimizer bug shown in new \do command. Change WARN to ERROR in contrib and regression stuff.
28 years ago
Bruce Momjian
0d9fc5afd6
Change elog(WARN) to elog(ERROR) and elog(ABORT).
28 years ago
Marc G. Fournier
6e337eef45
Major cleanout of PORTNAME variables from Makefiles...bound to screw up
...
some of the ports...
28 years ago
Marc G. Fournier
542d4e528d
First pass through, of many to come, towards making the whole source
...
tree "non-PORTNAME" dependent. Technically, anything that is PORTNAME
dependent should be able to be derived at compile time, through configure
or through gcc
28 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
1d8bbfd2e7
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
29 years ago
Bruce Momjian
ea5b5357cd
Remove more (void) and fix -Wall warnings.
29 years ago
Bruce Momjian
edb58721b8
Fix pgproc names over 15 chars in output. Add strNcpy() function. remove some (void) casts that are unnecessary.
29 years ago
Marc G. Fournier
0f94738c33
From: "D'Arcy J.M. Cain" <darcy@druid.net>
...
Subject: [PATCHES] backend/lib/fstack.c
- The FixedStackIsValid so obviously needs to be a macro
- FixedStackContains only called if assert checking on
29 years ago
Bruce Momjian
3a646df4c0
Remove CFLAGS_SL from lib/Makefile
29 years ago
Bruce Momjian
2595785b9b
Shared library cleanup for -fpic.
29 years ago
Bruce Momjian
59dcac1e5d
Makefile's -fpic only for gcc
29 years ago
Marc G. Fournier
8251ce7d10
final fix for shared library under BSD44_derived
...
Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>
29 years ago
Bruce Momjian
aaeef4d17d
All external function definitions now have prototypes that are checked.
30 years ago
Bruce Momjian
a0990e1884
Makefile cleanup after reorganization
30 years ago
Marc G. Fournier
e232909157
Slowly getting faster to make sure it compiles...still needs cleaning
...
up, but one thing at a time :)
30 years ago
Marc G. Fournier
ce4c0ce1de
Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>
30 years ago
Marc G. Fournier
ffaff3dcd4
Clean out makefile
...
add #include "postgres.h"
30 years ago
Bryan Henderson
b0d6f0aa63
Simplify make files, add full dependencies.
30 years ago
Marc G. Fournier
870be9fa8e
Clean up th ecompile process by centralizing the include files
...
- code compile tested, but due to a yet unresolved problem with
parse.h's creation, compile not completed...
30 years ago
Marc G. Fournier
d31084e9d1
Postgres95 1.01 Distribution - Virgin Sources
30 years ago