Kris Jurka
15a932c50f
Close the existing socket connection when reverting to the V2
...
protocol, or encountering other connection failures.
Laurent Sylvain
2004-06-22 09:37:03 +00:00
Kris Jurka
bb95de1f2a
Fix some problems with result sets positioned before the start or
...
after the end of results. You could still call a number of methods
on them like getXXX, updateXXX, and updateRow().
2004-06-21 03:12:01 +00:00
Kris Jurka
922c2638e4
Fix updatable ResultSets stream methods (ascii, character, binary).
...
The existing code didn't correctly allocate data arrays, and it
failed to loop when a stream didn't provide the full amount of
data requested of it.
Reported by Jan de Visser.
2004-06-21 02:01:12 +00:00
Kris Jurka
3cec5b804d
Foreign key information results should have column name FKTABLE_CAT
...
instead of FK_TABLE_CAT.
From jeff@bonevich.com .
2004-06-18 05:29:11 +00:00
Michael Meskes
f9589d4acb
Added patch by ISHIDA Akio to allow indicators in execute statements.
2004-06-17 11:52:59 +00:00
Kris Jurka
d9a44efc25
Don't throw an Exception in locatorsUpdateCopy() even though the
...
ability to update LOBs is unimplemented. The 1.5 JDK's CachedRowSet
implementation calls this method regardless of whether large objects
are used or not.
2004-06-16 18:28:45 +00:00
Kris Jurka
94fdcc052a
Bump the build number to relase a new version.
2004-06-16 05:23:33 +00:00
Kris Jurka
7e95c30953
When deleteRow() is called on an updateable ResultSet the ResultSet
...
should be positioned on the previous row.
Reported by Bob Messenger and Chris Pesarchick.
2004-06-16 05:12:13 +00:00
Bruce Momjian
d28e714509
Do PGAC_FUNC_GETPWUID_R_5ARG check with the proper thread flags. This
...
fixes Solaris thread compiles.
2004-06-16 03:47:35 +00:00
Kris Jurka
0bd656e407
Fix DatabaseMetaData results for determining foreign key
...
relationships. Resulting columns from getImportedExportedKeys should
be FKTABLE_SCHEM and PKTABLE_SCHEM, not _SCHEMA.
Per report from jeff@bonevich.com .
2004-06-16 03:36:56 +00:00
Peter Eisentraut
2416c758a6
Remove README.CVS when making a distribution.
REL7_4_3
2004-06-13 21:50:04 +00:00
Peter Eisentraut
b458e15279
Translation update
2004-06-13 21:41:20 +00:00
Tom Lane
27ab2e5d41
Correct erroneous table title, per Halley Pacheco de Oliveira.
2004-06-13 17:51:16 +00:00
Tom Lane
da736b79e7
Suppress compile warnings on machines where the INT64CONST() decoration
...
is actually needed. Backport of Oliver Elphick's recent patch.
2004-06-13 17:17:49 +00:00
Tom Lane
2e11ef8be8
Now needs to include <ctype.h>.
2004-06-12 20:31:48 +00:00
Tom Lane
d7f5817a9b
Some editorializing on 7.4.3 release notes.
2004-06-12 19:30:36 +00:00
Bruce Momjian
8d7ed778c4
Markup fix.
2004-06-12 04:08:39 +00:00
Bruce Momjian
0649d10a3b
Fix markup
2004-06-12 04:03:45 +00:00
Bruce Momjian
c796e97abd
Update release notes for 7.4.3.
2004-06-12 03:56:25 +00:00
Bruce Momjian
ba57e33d7f
Stamp 7.4.3. Still need release notes.
2004-06-11 18:17:54 +00:00
Bruce Momjian
257a8feb60
ECPG preprocessor for PostgreSQL 7.4.1, 7.4.2 doubles const,
...
volatile, static, and register keywords before variables,
declared as VARCHAR.
Sergey N. Yatskevich
2004-06-11 17:32:55 +00:00
Peter Eisentraut
b43b461396
Translation updates
2004-06-10 22:43:28 +00:00
Peter Eisentraut
bf61bdc124
Translation updates
2004-06-10 17:23:12 +00:00
Peter Eisentraut
90ecc9ffda
Translation update
2004-06-10 17:19:47 +00:00
Bruce Momjian
252849eb10
Add Brazilian version of FAQ.
...
Euler Taveira de Oliveira
2004-06-10 03:46:45 +00:00
Tom Lane
112403ba71
Add missing check for too-few-inputs when replacing a zero-dimensional
...
array.
2004-06-08 20:28:29 +00:00
PostgreSQL Daemon
619b560c84
tag this as 7.4.3 and copyright date 2004
2004-06-08 15:36:35 +00:00
Teodor Sigaev
db688bc1c3
Remove asymetrical word processing in query and text
2004-06-07 16:48:49 +00:00
Tom Lane
1532e3a8aa
Adjust PageGetMaxOffsetNumber to ensure sane behavior on uninitialized
...
pages, even when the macro's result is stored into an unsigned variable.
2004-06-05 17:42:50 +00:00
Tom Lane
a757fd70e5
I think I've finally identified the cause of the off-by-one-second
...
issue in timestamp conversion that we hacked around for so long by
ignoring the seconds field from localtime(). It's simple: you have
to watch out for platform-specific roundoff error when reducing a
possibly-fractional timestamp to integral time_t form. In particular
we should subtract off the already-determined fractional fsec field.
This should be enough to get an exact answer with int64 timestamps;
with float timestamps, throw in a rint() call just to be sure.
2004-05-31 18:32:23 +00:00
Peter Eisentraut
54427e9a1b
Translation update
2004-05-29 06:22:33 +00:00
Bruce Momjian
84b64ab569
Fix problems in pg_autovacuum:
...
1) temp table crash
2) Check send_query() function call return value.
Backpatch to 7.4.X.
2004-05-26 18:48:37 +00:00
Bruce Momjian
c924c065cd
[ Backpatch to 7.4.X.]
...
Fix problem with doing 7.0.X dumps on character varying[] fields.
Christopher Kings-Lynne
2004-05-26 18:27:23 +00:00
Tom Lane
360dcb1341
Fix erroneous error message printout when a configuration file contains
...
an overlength token. Printout was always garbage and could dump core
entirely :-(. Per report from Martin Pitt.
2004-05-25 19:11:26 +00:00
Tom Lane
05ce2d738f
Reduce pg_listener lock taken by NOTIFY et al from AccessExclusiveLock
...
to ExclusiveLock. This still serializes the operations of this module,
but doesn't conflict with concurrent ANALYZE operations. Per trouble
report from Philip Warner a few weeks ago.
2004-05-22 21:58:41 +00:00
Michael Meskes
962c362495
Fixed DEALLOCATE PREPARE to use correct function call
2004-05-21 13:50:59 +00:00
Kris Jurka
10a8cc5cc5
Fix setting timestamp values with very early year values, like 2, by
...
formatting all years with four digits. Previously 0002-10-30 was
being sent as 2-10-30 which got turned into 2030-02-10.
Per report from oneway_111.
2004-05-17 20:38:56 +00:00
Tom Lane
fedfc5d363
Propagate enlargeStringInfo() fixes into the equivalent code in
...
pqexpbuffer.c. While a client-side failure doesn't seem like a
security issue, it's still a bug.
2004-05-14 00:20:51 +00:00
Tom Lane
65924e6cc6
Tighten up overflow check in path_recv, pursuant to code review inspired
...
by Ken Ashcraft's report. I think there is no actual bug here since if
the int32 value does wrap a little bit, palloc will still reject it.
Still it's better that the code be obviously correct.
2004-05-12 22:39:00 +00:00
Tom Lane
5e027b19cd
Add tests to enlargeStringInfo() to avoid possible buffer-overrun or
...
infinite-loop problems if a bogus data length is passed.
2004-05-11 20:07:38 +00:00
Tom Lane
b8de9b216f
Fix oversights in processing of LIMIT expressions during planning.
2004-05-11 13:15:23 +00:00
Tom Lane
40ac7eddd9
Repair recalculation failure for nested sub-SELECTs, per bug report from
...
Didier Moens. Bug is new in 7.4, and was caused by not updating everyplace
I should've when replacing locParam markers by allParam.
2004-05-11 02:21:55 +00:00
Michael Meskes
006987781d
Just another bug in adjust_informix.
2004-05-10 13:46:39 +00:00
Michael Meskes
86ac85b6ae
- Fixed bug that reversed string length in typedefs.
2004-05-07 13:43:29 +00:00
Kris Jurka
e6e814c2b1
Allow public access to radius field to match other geometric types
...
behavior.
Per report from Declan Lynch.
2004-05-07 05:28:22 +00:00
Tom Lane
8d86b89ec0
NATURAL CROSS JOIN is a contradiction in terms, not to mention disallowed
...
by the SQL spec and by our parser. Thanks to Jonathan Scott for finding
this longstanding error.
2004-05-07 03:20:01 +00:00
Tom Lane
69f5e41be3
Don't assume that struct timeval's tv_sec field is the same datatype as
...
time_t; on some platforms they are not the same width. Per Manfred Koizar.
2004-05-05 17:28:57 +00:00
Tom Lane
31cf0d6bac
Unset PGCLIENTENCODING to prevent backend from dying if it's set
...
to something incompatible with the -E option.
2004-05-05 16:09:56 +00:00
Michael Meskes
d57af54ffa
Fixed bug in adjust_informix that treated arrays as simple variables.
2004-05-05 15:06:21 +00:00
Tom Lane
0feed44305
I thought we'd made initdb safe against newline-munging issues, but on
...
inspection we fixed only one of the two uses of COPY :-(. Fix the other.
This is already correct in CVS tip, but 7.4.3 could use the patch.
2004-04-29 19:56:35 +00:00