Bruce Momjian
4b2c2850bf
Clean up #include in /include directory. Add scripts for checking includes.
27 years ago
Bruce Momjian
0cf1b79528
Cleanup of /include #include's, for 6.6 only.
27 years ago
Bruce Momjian
fcff1cdf4e
Another pgindent run. Sorry folks.
27 years ago
Bruce Momjian
07842084fe
pgindent run over code.
27 years ago
Thomas G. Lockhart
1d1cf38c0d
Fix max(int8) result by making sure int8larger() copies its result
...
rather than reusing the input storage.
Also made the same fix to int8smaller(), though there wasn't a symptom,
and went through and verified that other pass-by-reference data types
do the same thing. Not an issue for the by-value types.
27 years ago
Bruce Momjian
6724a50787
Change my-function-name-- to my_function_name, and optimizer renames.
27 years ago
Thomas G. Lockhart
910fe5891e
Add routines to convert between int8 and text/varchar types.
...
Change #if FALSE to #if NOT_USED to avoid port problems.
Fix up pg_indent weirdness with function argument declarations.
27 years ago
Tom Lane
724119a979
Modify int8 to not depend on sscanf(), and fix configure's test
...
for int8 support. configure now checks only snprintf() for int8 support,
not sprintf and sscanf as it used to. The reason for doing this is that
if we are supplying our own snprintf code (which does handle long long int),
we now only need working long long support in the compiler not in the
platform's C library. I have verified that int8 now passes regression test
on HPUX 9, and I think it should work on SunOS 4.1.* and other older
platforms if gcc is used.
27 years ago
Bruce Momjian
fa1a8d6a97
OK, folks, here is the pgindent output.
28 years ago
Bruce Momjian
af74855a60
Renaming cleanup, no pgindent yet.
28 years ago
Thomas G. Lockhart
fa838876e9
Include 8-byte integer type.
...
At the moment, probably only works for i686/gcc and Alphas...
28 years ago
Bruce Momjian
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
28 years ago
Bruce Momjian
e6c6146eb8
Allow varchar() to only store needed bytes. Remove PALLOC,PALLOCTYPE,PFREE. Clean up use of VARDATA.
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
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
Thomas G. Lockhart
0c3b6e670a
Initial 64-bit integer package.
29 years ago