Bruce Momjian
022903f22e
Reduce open() calls. Replace fopen() calls with calls to fd.c functions.
1997-08-18 02:15:04 +00:00
Marc G. Fournier
eaae21fb4d
Fixes for alphalinux port by abrams@philos.umass.edu
1997-08-17 02:40:00 +00:00
Bruce Momjian
fd86ae151a
Cleanup global variables, remove stable memory stuff.
1997-08-14 16:11:41 +00:00
Vadim B. Mikheev
e99e4ba833
sprintf "...%d...", ... (int)getpid(), ...
...
^^^^^
1997-08-14 05:04:38 +00:00
Vadim B. Mikheev
ccc77423db
_hash_checkpage: cleanup for CASSERT
1997-08-14 05:01:32 +00:00
Bruce Momjian
0b2eb99f01
These changes allow the module to compile quietly when assert checking is
...
not being done.
1997-08-12 23:03:50 +00:00
Bruce Momjian
ea5b5357cd
Remove more (void) and fix -Wall warnings.
1997-08-12 22:55:25 +00:00
Bruce Momjian
0f6a961e29
cleanup of patch
1997-08-12 20:39:16 +00:00
Bruce Momjian
edb58721b8
Fix pgproc names over 15 chars in output. Add strNcpy() function. remove some (void) casts that are unnecessary.
1997-08-12 20:16:25 +00:00
Bruce Momjian
dc374505fa
Fix for psort again.
1997-08-06 17:11:20 +00:00
Bruce Momjian
677efc7679
Another psort fix.
1997-08-06 07:39:20 +00:00
Bruce Momjian
42c0cd33a2
I think I finally got psort working for all cases.
1997-08-06 07:02:49 +00:00
Bruce Momjian
cc24b846dd
psort cleanups.
1997-08-06 05:38:46 +00:00
Bruce Momjian
8fd7db8163
Another fix.
1997-08-06 05:08:37 +00:00
Bruce Momjian
ead219384f
Fix for palloc(0) in new code
1997-08-06 04:45:39 +00:00
Bruce Momjian
f5f366e188
Allow internal sorts to be stored in memory rather than in files.
1997-08-06 03:42:21 +00:00
Vadim B. Mikheev
b3d8beaa1a
Catch non-functional delete attempts.
1997-08-06 02:08:39 +00:00
Bruce Momjian
6ed1715b1f
Cleanup for NAMEDATALEN use.
1997-08-03 02:38:47 +00:00
Bruce Momjian
ea210dc611
Comment out code that makes no sense, and Purify complains about.
1997-08-03 02:28:10 +00:00
Bruce Momjian
8015ba0836
Prevent relname unallocated string length from being copied into database.
1997-08-02 19:09:33 +00:00
Marc G. Fournier
ecefacd07d
Due to BIND 8.1.1, my Solaris 2.5.1 machine doesn't define MAXHOSTNAMELEN...
...
so, add a check that basically says if it isn't defined, set it to 256...
1997-07-30 14:08:11 +00:00
Marc G. Fournier
5089f6ce87
Check for and use <netdb.h> for postmaster.c, instead of checking if
...
MAXHOSTNAMELEN is defined. For some reason, my 2.5.1 Solaris box at
work fails on that check...
1997-07-30 14:03:33 +00:00
Vadim B. Mikheev
ac994a69d6
Allow use parameters in target list having aggregates in functions.
1997-07-30 04:42:26 +00:00
Thomas G. Lockhart
840ea2497d
Change call definition for isreltime().
1997-07-29 16:19:26 +00:00
Thomas G. Lockhart
e1d9cf096c
Remove some unnecessary include statements (comment out with #ifdef FALSE).
1997-07-29 16:14:40 +00:00
Thomas G. Lockhart
bf138e2139
Add routines for text trimming on both ends, substring, and string position.
...
Used to support SQL92 compatibility.
1997-07-29 16:12:07 +00:00
Thomas G. Lockhart
d95c93bf99
Fix bug to allow hh:mm:ss time entry for timespan/reltime types.
1997-07-29 16:09:38 +00:00
Thomas G. Lockhart
215bc83d75
Remove #ifdef'd support for old i/o styles.
...
Change box terminology from "length" to "width".
Use length terminology in common with other geometric types (usually perimeter).
Fix bugs in line arithmetic which resulted in bad intersection calculations.
Deprecate temporary unstored slope fields.
Check explicitly for intersections at endpoints to avoid rounding ugliness.
Add center() routines for lseg, path, polygon.
Add distance() routines for circle-polygon, polygon-polygon.
Check explicitly for points and polygons contained within polygons
using an axis-crossing algorithm. (Old code just checked bounding boxes).
Add routine to convert circle-box.
*whew*
1997-07-29 16:08:18 +00:00
Thomas G. Lockhart
1ba73ed3a0
Update some reltime code to use new common routines.
...
Use standard decoder for isreltime().
1997-07-29 15:54:49 +00:00
Thomas G. Lockhart
9d8ae79774
Add debugging statements.
1997-07-29 15:51:33 +00:00
Bruce Momjian
8d25436d70
mkLinux patches from Tatsuo Ishii.
1997-07-29 14:09:11 +00:00
Bruce Momjian
8338f90d4e
Add SCO files.
1997-07-28 01:34:24 +00:00
Bruce Momjian
79e78f0b80
Added SCO support, from Daniel Harris.
1997-07-28 00:57:08 +00:00
Bruce Momjian
5a38a119b2
Remove sparc dir, add difftime macro for sunos.
1997-07-28 00:13:39 +00:00
Bruce Momjian
cfd15d16fa
Rename sparc to sunos4 directory. Was misnamed.
1997-07-28 00:08:41 +00:00
Bruce Momjian
d5e21e0924
HPUX 10 patches from Vladimir Turin
1997-07-27 18:52:43 +00:00
Bruce Momjian
3ac9d2fff3
Various compile errors concerning overflow due to shifts, unsigned, and bad prototypes, from Solaris, from Diab Jerius
1997-07-24 20:19:10 +00:00
Bruce Momjian
a7d417cc2f
Fix problems with pg_dump for iheritance, sequences, archive tables.
1997-07-23 17:15:13 +00:00
Bruce Momjian
69e5d63839
AIX nm fix from Gerhard
1997-07-13 19:52:10 +00:00
Bruce Momjian
a11ad874e4
Fix for assembler from Yoshihiko ICHIKAWA
1997-07-10 02:32:51 +00:00
Bruce Momjian
3b7ee8f5f9
Allow underscores in user names.
1997-07-10 02:27:27 +00:00
Bruce Momjian
a5d80cb0cf
Date-type fixes from Tatsuo Ishii
1997-07-08 22:06:46 +00:00
Thomas G. Lockhart
3ded6fd511
Fix code to do the right thing with mixed-endian clients and servers.
1997-07-01 00:32:27 +00:00
Thomas G. Lockhart
8507ddb9c6
Use common parser and encoder for timestamp data type.
...
Remove older date and time code (retain NEW_DATE_CODE and NEW_TIME_CODE).
Use common encoder for date and time.
Fix datetime +/- timespan math bug.
1997-07-01 00:22:46 +00:00
Bruce Momjian
43deb7a45f
Fox case-sensitivity for \d and allow trailing ; on backslash commands.
1997-06-29 17:29:28 +00:00
Vadim B. Mikheev
eb9c8e0a59
_hash_first: release buf & metabuf if no tuples found for a key.
1997-06-28 05:45:40 +00:00
Bruce Momjian
c2010d8e4d
fix for initdb --debug core dump, from Tatsuo Ishii
1997-06-25 21:12:19 +00:00
Thomas G. Lockhart
1f4f4534a0
Use the standard date/time encoder rather than strftime() for output.
...
This allows use of the DateStyle session variable.
1997-06-23 14:56:15 +00:00
Thomas G. Lockhart
01264e84ba
Modify EncodeDateTime() to suppress trailing ".00" in seconds field.
...
This matches the behavior of the original formatting for abstime.
Repair datetime + timespan date arithmetic for year boundaries.
From patch submitted by Dave Skinner.
1997-06-23 14:50:56 +00:00
Thomas G. Lockhart
d9bccec0d2
Expunge code not enabled with USE_NEW_DATE and USE_NEW_TIME #defines.
1997-06-23 14:47:26 +00:00