1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-18 17:41:14 +03:00

16902 Commits

Author SHA1 Message Date
Tom Lane
43775d3de0 Avoid crashing when restoring a saved GUC session_authorization value
that refers to a now-deleted userid.  Per gripe from Chris Ochs.
2004-08-11 21:10:52 +00:00
Kris Jurka
8120dc536a Decode V3 notice messages instead of leaving them in raw form.
From Donald Fraser.
2004-08-11 06:56:00 +00:00
Kris Jurka
af8e9a44fe DatabaseMetaData.getSearchString escape was a \ short of working
because both Java's String constructor and pg's input parser strip
off backslashes.
2004-08-11 06:40:16 +00:00
Tom Lane
d508e0ddd2 Fix failure to guarantee that a checkpoint will write out pg_clog updates
for transaction commits that occurred just before the checkpoint.  This is
an EXTREMELY serious bug --- kudos to Satoshi Okada for creating a
reproducible test case to prove its existence.
2004-08-11 04:08:02 +00:00
Joe Conway
a1dd58e509 Hashed crosstab was dying with an SPI_finish error when the source SQL
produced no rows. Now it returns 0 rows instead. Adjusted regression
test for this case.
2004-08-11 01:02:08 +00:00
Peter Eisentraut
e2a994be73 Translation update 2004-08-10 18:37:53 +00:00
Peter Eisentraut
3306cdfe08 Change declared encoding 2004-07-25 11:49:20 +00:00
Peter Eisentraut
22bfb343d6 New translation 2004-07-25 11:44:57 +00:00
Michael Meskes
a7d68b42f0 Fixed handling of cyclic defines. 2004-07-20 18:22:53 +00:00
Tom Lane
ab50cb14a4 Fix incorrect tracking of session authorization in the presence of ACLs
that contain rights granted by non-owners.  Per bug report from
Nishad Prakash.
2004-07-19 21:02:42 +00:00
Tom Lane
3998d0fdca When renaming a column that participates in a foreign key, we must
force relcache rebuild for the other table as well as the column's
own table.  Otherwise, already-cached foreign key triggers will stop
working.  Per example from Alexander Pravking.
2004-07-17 17:28:47 +00:00
Kris Jurka
7b2c575d4e When retrieving an array of numerics it attempted to set the scale on
the retrieved data to zero, which doesn't work for non-integer values.

Oliver Dauben
2004-07-15 10:00:20 +00:00
Tom Lane
54affc0921 Test HAVING condition before computing targetlist of an Aggregate node.
This is required by SQL spec to avoid failures in cases like
  SELECT sum(win)/sum(lose) FROM ... GROUP BY ... HAVING sum(lose) > 0;
AFAICT we have gotten this wrong since day one.  Kudos to Holger Jakobs
for being the first to notice.
2004-07-10 18:39:44 +00:00
Bruce Momjian
56442e9fab OK, another try at Darwin threads. 2004-07-08 18:25:22 +00:00
Bruce Momjian
2ba666ef01 Remove OSX thread flags. No consistent report. 2004-07-08 16:27:58 +00:00
Bruce Momjian
d5bf36f606 Add OSX thread support for next 7.4.X 2004-07-07 13:04:48 +00:00
Tom Lane
abef61155d Fix broken logic for pretty-printing parenthesis-suppression in UNION
et al.
2004-07-06 04:50:54 +00:00
Michael Meskes
e5a806bb29 Added free() calls against memory leak in interval.c. 2004-07-05 18:54:01 +00:00
Peter Eisentraut
4a9468bf29 Translation update 2004-07-02 15:02:29 +00:00
Peter Eisentraut
57bc0bf196 Override upstream DSSSL style sheet formatting changes 2004-06-29 20:46:35 +00:00
Michael Meskes
a3c695d0c2 - Only use typedefs inside their scope.
- Variables that are out of scope, were not removed all the time.
- Make a varchar NULL set everything to 0 when not using indicators.
2004-06-27 12:32:47 +00:00
Kris Jurka
46f2ee852b Fix apparently harmless typo. {$srcdir} -> ${srcdir}
Markus Schaber
2004-06-24 09:51:44 +00:00
Teodor Sigaev
c0626280c7 Fix stupid bug in installcheck 2004-06-23 10:03:57 +00:00
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