Jan Wieck
c1855793df
Fixed backend crashing bug in apply_typmod()
...
Jan
1999-01-04 12:53:23 +00:00
Jan Wieck
e3a5ac283b
Little fix for round() function
...
Jan
1999-01-04 11:20:33 +00:00
Bruce Momjian
936d89e9e0
Fix NAN code.
1999-01-03 05:30:47 +00:00
Bruce Momjian
6fd29f2c01
Fix for NAN generation.
1999-01-03 02:40:12 +00:00
Bruce Momjian
d8ae7ffb2f
Fix for no platform NAN.
1999-01-01 04:17:13 +00:00
Thomas G. Lockhart
4d56dbd678
Change ordering of HAVE_TM_ZONE and HAVE_INT_TIMEZONE code blocks
...
to give HAVE_TM_ZONE priority. This fixes glibc2 machines and any other
machine which passes both tests in configure.
Repair HAVE_TM_ZONE code which stuffs tm structure with date type values.
Same problems as were originally there before v6.1, but never noticed.
Thanks to Oleg for nagging :)
1998-12-31 16:30:59 +00:00
Jan Wieck
5df20d4449
Little precision fix for POWER(). I discovered problems with big
...
exponents.
Jan
1998-12-30 20:46:06 +00:00
Jan Wieck
0e9d75c6ac
Added NUMERIC data type with many builtin funcitons, operators
...
and aggregates.
Jan
1998-12-30 19:56:35 +00:00
Marc G. Fournier
54c3e65242
Oops, sorry...meant to commit the patch from Thomas for tzn->CTZName
1998-12-15 15:28:57 +00:00
Vadim B. Mikheev
83f558afdd
tzn undeclared in FreeBSD, commented out.
1998-12-15 15:10:03 +00:00
Vadim B. Mikheev
3f7fbf85dc
Initial MVCC code.
...
New code for locking buffer' context.
1998-12-15 12:47:01 +00:00
Marc G. Fournier
9396802f14
more cleanups...of note, appendStringInfo now performs like sprintf(),
...
where you state a format and arguments. the old behavior required
each appendStringInfo to have to have a sprintf() before it if any
formatting was required.
Also shortened several instances where there were multiple appendStringInfo()
calls in a row, doing nothing more then adding one more word to the String,
instead of doing them all in one call.
1998-12-14 08:11:17 +00:00
Thomas G. Lockhart
239564e9ef
Add routines to help with single-byte (internal) character type support.
1998-12-13 23:36:48 +00:00
Thomas G. Lockhart
f9f4004b7c
Switch around conditional code so that HAVE_TM_ZONE takes precedence
...
over HAVE_INT_TIMEZONE. This may help out linux/glibc2 and Dec Alpha.
Included #error precompiler macros to catch cases where neither is defined
but USE_POSIX_TIME is (shouldn't happen). Hopefully this isn't just
a gcc-ism.
1998-12-13 23:34:17 +00:00
Thomas G. Lockhart
53b476798a
Define routines and catalog entries for string min()/max() functions.
...
Extend new type coersion techniques to aggregates.
Clean up a few elog() messages.
1998-12-08 06:19:15 +00:00
Tom Lane
92eacaf523
Change exp() behavior to generate error on underflow rather
...
than silently returning zero on some machines. Correct float8 regress test
to agree. Also fix pow() overflow/underflow check to work correctly on
HPUX.
1998-11-29 01:57:59 +00:00
Vadim B. Mikheev
6beba218d7
New HeapTuple structure/interface.
1998-11-27 19:52:36 +00:00
Thomas G. Lockhart
643c7beddf
Add text<->float8 and text<->float4 conversion functions.
...
This will fix the problem reported by Jose' Soares
when trying to cast a float to text.
1998-11-17 14:36:51 +00:00
Thomas G. Lockhart
396571d79c
Very minor cleanup of no-op code.
1998-10-29 18:11:28 +00:00
Bruce Momjian
1e7c7343c4
Add oid8neq.
1998-10-29 18:07:09 +00:00
Tom Lane
9e38dcfd43
Re-fix test for negative-integer return code that should be
...
testing for null-pointer return code...
1998-10-29 16:13:07 +00:00
Bruce Momjian
374d9a1f2b
D'Arcy INET fix.
1998-10-29 04:41:44 +00:00
Tom Lane
990fa43c23
Get rid of some minor compiler warnings.
1998-10-26 01:05:07 +00:00
Tom Lane
0bdf46a37f
Fix some actual bugs exposed by compiler warnings.
...
(Someone forgot whether their subroutine signaled errors by a NULL pointer
return value, or a negative integer... I'm surprised gcc -Wall doesn't
catch this...)
1998-10-26 01:03:24 +00:00
Bruce Momjian
1115162c84
rename file.
1998-10-23 02:56:13 +00:00
Bruce Momjian
33c4072dbc
INET/CIDR cleanup from D'Arcy.
1998-10-22 20:40:50 +00:00
Bruce Momjian
ca2995be7b
Remove duplicate CIDR funcs by using coerce entries.
1998-10-22 13:51:07 +00:00
Bruce Momjian
9ac0c1e371
CIDR/INET fixes from D'Arcy.
1998-10-22 13:16:27 +00:00
Bruce Momjian
3fe6a77f91
Fix for funcs on INET/CIDR.
1998-10-22 04:58:11 +00:00
Bruce Momjian
2ba4ee74aa
Fix function calls to INET/CIDR functions. Added cidr_out.
1998-10-22 00:35:28 +00:00
Bruce Momjian
858a3b570a
New CIDR type and fixed INET type, from D'Arcy.
1998-10-21 16:06:50 +00:00
Bruce Momjian
89f01cd92f
Add RIP notice for Paul.
1998-10-21 04:25:25 +00:00
Bruce Momjian
f8042120b6
INET fix from D'Arcy.
1998-10-21 02:48:22 +00:00
Bruce Momjian
a824add49a
Remove unused INET functions for D'Arcy.
1998-10-20 23:03:20 +00:00
Bruce Momjian
71a5da47d2
Disable inet.
1998-10-17 04:08:40 +00:00
Bruce Momjian
0c430306fe
Re-enable inet code.
1998-10-17 03:59:14 +00:00
Bruce Momjian
a643d97f29
Fix for inet from Tom H.
1998-10-12 15:56:34 +00:00
Bruce Momjian
b1f3293b8b
Fix for version.c warning.
1998-10-12 05:09:55 +00:00
Bruce Momjian
eb3e640ea2
New INET functions from D'Arcy J.M. Cain
1998-10-12 04:07:53 +00:00
Bruce Momjian
377b5fa3a4
Fix for inet_net_pton() from Tom.
1998-10-12 01:30:26 +00:00
Bruce Momjian
1483456418
Fix for version() string overwrite.
1998-10-09 16:42:32 +00:00
Bruce Momjian
173c555948
Make functions static or ifdef NOT_USED. Prevent pg_version creation.
1998-10-08 18:30:52 +00:00
Bruce Momjian
deaaf96975
Fix for INET type addition.
1998-10-08 02:08:47 +00:00
Bruce Momjian
8849655d24
I agree. I think, though, that the best argument presented in the
...
debate was from Paul Vixie, who wanted INET to be the name covering
both IPV4 and IPV6. The following kit makes the needed changes:
Tom Ivar Helbekkmo
1998-10-08 00:19:47 +00:00
Bruce Momjian
803204bd1e
Playing around with pg_dump for a while resulted in some
...
fixes, enhancements and some found bugs not yet fixed. After
all I was able to get useful results when dumping/reloading
the regression database.
Jan
1998-10-06 22:14:21 +00:00
Bruce Momjian
e1ebac319d
Here are the patches against the current source tree. I have run the
...
regression test on a FreeBSD box with both non-MULTIBYTE and
MULTIBYTE-enabled, and confirmed that the results are same.
However I do not tested on PCs(I don't have access to win). Please let
me know if the patches break anything on PCs.
Also please note that the patch for varchar.c is a fix for a nasty bug
of char(n) types that I introduced and I believe at least this should
be applied.
Tatsuo Ishii
1998-10-06 03:02:29 +00:00
Bruce Momjian
10d987c709
Add includes for prototypes for new IP type.
1998-10-04 16:24:32 +00:00
Bruce Momjian
a593107d9e
Add prototype include to inet types.
1998-10-04 15:35:12 +00:00
Bruce Momjian
f5a219204b
Remove u_int32_t
1998-10-04 15:31:09 +00:00
Bruce Momjian
2d69fd90b9
Integrate new IP type from Tom Ivar Helbekkmo.
1998-10-03 05:41:01 +00:00