Peter Eisentraut
44d1abebb4
Big warnings cleanup for Solaris/GCC. Down to about 40 now, but
...
we'll get there one day.
Use `cat' to create aclocal.m4, not `aclocal'. Some people don't
have automake installed.
Only run the autoconf rule in the top-level GNUmakefile if the
invoker specified `make configure', don't run it automatically
because of CVS timestamp skew.
2000-06-14 18:18:01 +00:00
Tom Lane
48165ec226
Latest round of fmgr updates. All functions with bool,char, or int2
...
inputs have been converted to newstyle. This should go a long way towards
fixing our portability problems with platforms where char and short
parameters are passed differently from int-width parameters. Still
more to do for the Alpha port however.
2000-06-05 07:29:25 +00:00
Bruce Momjian
52f77df613
Ye-old pgindent run. Same 4-space tabs.
2000-04-12 17:17:23 +00:00
Thomas G. Lockhart
6456810078
Implement column aliases on views "CREATE VIEW name (collist)".
...
Implement TIME WITH TIME ZONE type (timetz internal type).
Remap length() for character strings to CHAR_LENGTH() for SQL92
and to remove the ambiguity with geometric length() functions.
Keep length() for character strings for backward compatibility.
Shrink stored views by removing internal column name list from visible rte.
Implement min(), max() for time and timetz data types.
Implement conversion of TIME to INTERVAL.
Implement abs(), mod(), fac() for the int8 data type.
Rename some math functions to generic names:
round(), sqrt(), cbrt(), pow(), etc.
Rename NUMERIC power() function to pow().
Fix int2 factorial to calculate result in int4.
Enhance the Oracle compatibility function translate() to work with string
arguments (from Edwin Ramirez).
Modify pg_proc system table to remove OID holes.
2000-03-14 23:06:59 +00:00
Bruce Momjian
0c5422912e
Protects you from coredumps if you do eg. str::int4 where str is a text
...
field. cf. Tom Lane's <19021.950544016@sss.pgh.pa.us> 14 Feb hackers
message.
Cheers,
Patrick Welche
2000-03-07 23:58:38 +00:00
Tom Lane
d8cedf67ad
Clean up some really grotty coding in catcache.c, improve hashing
...
performance in catcache lookups.
2000-02-21 03:36:59 +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
Bruce Momjian
6456b17bc1
Rename oid8 -> oidvector and int28 -> int2vector. Cleanup of *out functions.
2000-01-10 16:13:23 +00:00
Bruce Momjian
3f03f74f36
Update int28out and out8out and _in_ functions to handle trailing zeros
...
properly.
2000-01-10 15:41:34 +00:00
Bruce Momjian
5770935965
Fix oid8in and int28in for spaces
2000-01-10 05:23:47 +00:00
Bruce Momjian
a040281787
Move fixes for >8 indexed fields.
2000-01-10 05:20:26 +00:00
Bruce Momjian
3406901a29
Move some system includes into c.h, and remove duplicates.
1999-07-17 20:18:55 +00:00
Bruce Momjian
a71802e12e
Final cleanup.
1999-07-16 05:00:38 +00:00
Bruce Momjian
9b645d481c
Update #include cleanups
1999-07-16 03:14:30 +00:00
Bruce Momjian
2e6b1e63a3
Remove unused #includes in *.c files.
1999-07-15 22:40:16 +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
0cf1b79528
Cleanup of /include #include's, for 6.6 only.
1999-07-14 01:20:30 +00:00
Tom Lane
b9c0096d97
Another place that HAVE_LIMITS_H was misspelled.
1999-07-09 15:09: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
a3c5a3cb2f
Cleanup for oid8[] from Tatsuo Ishii.
1998-09-22 20:28:15 +00:00
Bruce Momjian
4b9e21bbc2
cleanup
1998-09-01 06:22:46 +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
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
1998-02-26 04:46:47 +00:00
Bruce Momjian
24cab6bd0d
Goodbye register keyword. Compiler knows better.
1998-02-11 19:14:04 +00:00
Bruce Momjian
e6c6146eb8
Allow varchar() to only store needed bytes. Remove PALLOC,PALLOCTYPE,PFREE. Clean up use of VARDATA.
1998-01-07 18:47:07 +00:00
Bruce Momjian
deea69b90e
Change some ABORTS to ERROR. Add line number when COPY Failure.
1998-01-05 16:40:20 +00:00
Bruce Momjian
0d9fc5afd6
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 03:35:55 +00:00
Thomas G. Lockhart
174f984b76
Use SHRT_MIN and SHRT_MAX for 2-byte integer limits.
1997-11-17 16:24:17 +00:00
Thomas G. Lockhart
317acd0818
Add conversions for int2 and int4 to and from text.
1997-10-25 05:19:22 +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
075cede748
Add typdefs to pgindent run.
1997-09-08 20:59:27 +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
Marc G. Fournier
53d8be3bbf
Date/Time updates from Thomas...
1997-03-14 23:21:12 +00:00
Marc G. Fournier
0020e8790d
Another directory that compiles with no errors, and few warnings
1996-11-06 10:32:10 +00:00
Marc G. Fournier
ce4c0ce1de
Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>
1996-11-06 06:52:23 +00:00
Marc G. Fournier
d31084e9d1
Postgres95 1.01 Distribution - Virgin Sources
1996-07-09 06:22:35 +00:00