1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00
Commit Graph

23613 Commits

Author SHA1 Message Date
4deb20f4ce Fix for missing NAN. 1999-01-17 03:28:37 +00:00
7fab608205 Add configure test to see whether vsnprintf() is present,
separately from snprintf() --- HPUX, for one, has snprintf but not
vsnprintf.  Fix a minor typo in snprintf.c, too.
1999-01-17 03:22:52 +00:00
cd6bc85aa2 Remove uses of MSG_WAITALL temporarily, since it doesn't
seem to be portable (HPUX doesn't like it, anyway).  Also, clean up
StreamConnection(), which was mis-coded to assume that the address
family field is already set when it's called.
1999-01-17 03:10:23 +00:00
21badba151 Replace direct inclusions of c.h with inclusion of postgres.h,
to ensure that config.h is included as well.
1999-01-17 03:04:57 +00:00
4e34686a36 Apply Magnus Hagander's followup patch to correct
out-of-sync routine prototypes ... the system doesn't compile without this ...
1999-01-17 01:45:42 +00:00
46ced3429b Re-insert %.sl rule into Makefile.hpux ... seems it is not
quite as unused as I thought ... how embarrassing.
1999-01-17 00:18:59 +00:00
d8b96ade81 From: Magnus Hagander <mha@sollentuna.net>
Here's another patch for the libpq backend areas. This patch removes all
usage of "FILE *" on the communications channel. It also cleans up the
comments and headers in the pqcomm.c file - a lot of things were either
missing or incorrect. Finally, it removes a couple of unused functions
(leftovers from the time of shared code between the libpq backend and
frontend).
1999-01-12 12:49:52 +00:00
3b3ffc8d97 From: Magnus Hagander <mha@sollentuna.net>
Here is a first patch to cleanup the backend side of libpq.
This patch removes all external dependencies on the "Pfin" and "Pfout" that
are declared in pqcomm.h. These variables are also changed to "static" to
make sure.
Almost all the change is in the handler of the "copy" command - most other
areas of the backend already used the correct functions.
This change will make the way for cleanup of the internal stuff there - now
that all the functions accessing the file descriptors are confined to a
single directory.
1999-01-11 03:56:11 +00:00
6d5d673ca8 Be more careful to check input string lengths as well as values
when deciding whether a field is a year field.  Assume *anything* longer
 than 2 digits (if it isn't a special-case doy) is a valid year.
 This should fix the "Y1K" and "Y10K" problems
  pointed out by Massimo recently.
Check usage of BC to require a positive-valued year; before just used it
 to flip the sign of the year without checking. This led to problems
 near year zero.
Allow a 5 digit "concatenated date" of 2 digit year plus day of year.
Do 2->4 digit year correction for 6 and 5 digit "concatenated dates".
 Somehow forgot this originally. Guess not many folks use it...
1999-01-10 17:20:54 +00:00
c715788681 Handle "NaN" and "Infinity" for input values.
I think NAN is already guaranteed to be there from Jan's work on NUMERIC,
 but perhaps HUGE_VAL needs some #ifndef's in the same place.
Should also include "-Infinity" as -HUGE_VAL sometime; not there yet.
1999-01-10 17:13:06 +00:00
0b644ad332 Update 06-40-0004 -- Add Bookmark support! 1999-01-08 18:24:45 +00:00
97b88f1c15 Sorry for posting it here again, but I haven't corrected my
subscriptions
yet. It's just a small patch to ecpg to keep it in sync with gram.y.

Michael
1999-01-07 19:11:18 +00:00
a1164a2508 Update 06-40-0003 1999-01-06 20:44:08 +00:00
dfa23f5e41 SELECT FOR UPDATE syntax 1999-01-05 15:46:25 +00:00
b5626a2089 Restricted maximum precision for NUMERIC to 1000 digits.
Anything else is CPU overkill.

Jan
1999-01-05 11:12:11 +00:00
814c8495a7 Removed precision restriction in numeric_round() causing
overflow error on high precision calculations where temporary
huge precision is required.

Jan
1999-01-05 11:10:45 +00:00
8aad28da2d Mini Update #2 -- final fixes for buffer lengths, null buffers, truncation 1999-01-05 00:32:21 +00:00
1bbe55c79f Just one more bugfix - this time in cmp_abs (cannot imagine that
taking a logarithm with a 400 digit precision worked with that bug
in place).

Jan
1999-01-04 17:51:58 +00:00
c1855793df Fixed backend crashing bug in apply_typmod()
Jan
1999-01-04 12:53:23 +00:00
e3a5ac283b Little fix for round() function
Jan
1999-01-04 11:20:33 +00:00
936d89e9e0 Fix NAN code. 1999-01-03 05:30:47 +00:00
6fd29f2c01 Fix for NAN generation. 1999-01-03 02:40:12 +00:00
f0fbd7b87e Some security, since we now have vsnprintf, I remade an old patch
with some extra ugly sprintfs fixed. More work in this area is
   needed still.

Göran Thyni
1999-01-01 04:48:49 +00:00
d8ae7ffb2f Fix for no platform NAN. 1999-01-01 04:17:13 +00:00
da361ee24b Add max oid display, rather than returning just a dash for the last entry. 1998-12-31 20:09:49 +00:00
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
2d74bf8843 uncomment MYLOG to prevent warnings in compile 1998-12-31 00:26:44 +00:00
bc9bab0390 Mini update to fix SQLGetInfo to work properly (truncation, NULL) 1998-12-31 00:26:06 +00:00
5df20d4449 Little precision fix for POWER(). I discovered problems with big
exponents.

Jan
1998-12-30 20:46:06 +00:00
0e9d75c6ac Added NUMERIC data type with many builtin funcitons, operators
and aggregates.

Jan
1998-12-30 19:56:35 +00:00
6059c5a141 Update for deadlock detection. 1998-12-29 19:32:08 +00:00
06c120e67e Update for deadlock timer. 1998-12-29 18:36:29 +00:00
2b8736bac6 Fix for deadlock detection timeout. 1998-12-29 18:30:33 +00:00
f659ec545f Fix for deadlock timer timeout. 1998-12-29 18:29:18 +00:00
550de5db2c Minor fixes to compile on unix for v6-40-0002 1998-12-29 14:59:30 +00:00
6d7735e7f0 Update for version 6-40-0002 and re-merge Thomas' changes. 1998-12-29 01:49:58 +00:00
d73cf044f6 autoconf 1998-12-28 05:41:51 +00:00
dfe4304879 Fix for current dir not in path, from stan's report. 1998-12-28 05:37:50 +00:00
58e539e574 Long awaited port for NetBSD/m68k was finally done by Mr. Mutsuki
Nakajima. Since he is not subscribing the mailing list, I'm posting
his patches by his request.  According to him, he has successfully
compiled and passed the regression test on Mac SE/30 running
NetBSD/m68k. Also, another person has reported that with the patches
PostgreSQL is working on NetBSD/sun3 too.
--
Tatsuo Ishii
1998-12-26 18:15:53 +00:00
2be1eccec7 Fix for version, update to 6.5. 1998-12-25 02:20:12 +00:00
cb6331901c Fix for snprintf and long long unsigned. 1998-12-24 05:28:50 +00:00
18bdefa23f Fix reference to null pointer when no aggregate function candidates
are available. Problem reported by David Sauer <davids@iol.cz>.
Modify information in resulting error message to indicate both agg name
 and data type.
1998-12-23 14:38:40 +00:00
5afe8d3478 Add subversion mention 1998-12-23 14:35:42 +00:00
e237194b72 From: Michael Meskes <Michael.Meskes@usa.net>
+
+Wed Dec  9 11:24:54 MEZ 1998
+
+       - Synced preproc.y with gram.y and the keywords.c files to add CASE
+         statement.
+
+Tue Dec 22 14:16:11 CET 1998
+
+       - Synced preproc.y with gram.y for locking statements.
+       - Set version to 2.4.5
1998-12-22 18:50:56 +00:00
d7171601a3 Changed TypeName.typmod to int32 - atttypmod is of that size
Jan
1998-12-21 12:50:29 +00:00
1adb6a9d18 finished cleaning up outnodes.c ... 1998-12-20 07:13:36 +00:00
3cd3be92ff Fix deadlock so it only checks once. 1998-12-18 19:45:38 +00:00
99603f8578 Add pgaccess Makefile. 1998-12-18 17:54:42 +00:00
3d39ea7341 Here are descriptions:
- the first patch is just to preven listing the perl warning in the
  make output unless it is actually emitted by the make.  this may
  prevent new users from being confused by the warning in their output

- the second patch (to 2 files) just enables building/installing
  pgaccess if TCL and TK are available.  a Makefile is created to do
  this, but you may wish to change the heading information in it since
  I just copied another Makefile to use as a template.

I hope these make it into 6.4.1.

Cheers,
Brook
1998-12-18 17:53:22 +00:00
b8d5f02e4e I have ported PostgreSQL 6.4 to Cobalt Qube running Linux 2.0.33 with
MIPS cpu (I think it's R4000). I have tested the patches on LinuxPPC
and FreeBSD. I believe they do not harm other platforms.
--
Tatsuo Ishii
1998-12-18 17:25:41 +00:00