| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
| |
by about 10% which seems to be good for half a percent or so of a SELECT.
|
| | |
|
| |
|
|
|
|
|
| |
was causing it not to detect out-of-range float values, as evidenced by
failure of float8 regression test. I corrected that logic and also
modified expected float8 results to account for new error message
generated for out-of-range inputs.
|
| |
|
|
| |
buffering lost by not going through stdio anymore for client I/O.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
They are not corrected now.
Allow the date type to accept BC dates.
Share more date/time validation declarations through dt.h.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
to ensure that config.h is included as well.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
overflow error on high precision calculations where temporary
huge precision is required.
Jan
|
| |
|
|
|
|
|
| |
taking a logarithm with a 400 digit precision worked with that bug
in place).
Jan
|
| |
|
|
| |
Jan
|
| |
|
|
| |
Jan
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
with some extra ugly sprintfs fixed. More work in this area is
needed still.
Göran Thyni
|
| | |
|
| |
|
|
|
|
|
|
| |
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 :)
|
| |
|
|
|
|
| |
exponents.
Jan
|
| |
|
|
|
|
| |
and aggregates.
Jan
|
| |
|
|
|
| |
LOCK TABLE IN ... MODE
...implemented
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
New code for locking buffer' context.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Switch sprintf() to snprintf()
Remove any/all #if 0 -or- #ifdef NOT_USED -or- #ifdef FALSE sections of
code
|
| |
|
|
|
|
|
|
|
|
|
| |
support. Included patches will solve it and should be applied to
both trees. Also, it fix the problem with \c command of psql when
switching different encoding databases.
Regression tests passed.
--
Tatsuo Ishii
t-ishii@sra.co.jp
|
| | |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
Extend new type coersion techniques to aggregates.
Clean up a few elog() messages.
|
| |
|
|
|
|
| |
than silently returning zero on some machines. Correct float8 regress test
to agree. Also fix pow() overflow/underflow check to work correctly on
HPUX.
|
| | |
|
| |
|
|
|
| |
This will fix the problem reported by Jose' Soares
when trying to cast a float to text.
|
| | |
|
| | |
|
| |
|
|
| |
testing for null-pointer return code...
|
| | |
|
| | |
|
| | |
|
| | |
|