summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-12-16Allow --enable-thread-safety with --disable-shared libraries by passingBruce Momjian
PTHREAD_LIBS to all libpq-usage builds.
2004-12-16Allow AIX to use --enable-thread-safety by passing PTHREAD_LIBS toBruce Momjian
binary compiles, and adjust configure tests for AIX.
2004-12-16Translation updatesPeter Eisentraut
2004-12-15Fix another place broken by new List implementation :-(. Per exampleTom Lane
from goranpop@nspoint.net. I think this escaped notice because in simple cases the list is NIL on entry.
2004-12-15Disallow SETOF in the input of parseTypeString(). Formerly it wasTom Lane
silently ignored, allowing one to write bizarre things like DECLARE x setof int; in plpgsql. This has misled at least one novice into thinking that plpgsql variables could be sets ...
2004-12-15Calculation of keys_are_unique flag was wrong for cases involvingTom Lane
redundant cross-datatype comparisons. Per example from Merlin Moncure.
2004-12-15New translationsPeter Eisentraut
2004-12-15Translation updatesPeter Eisentraut
2004-12-15Translation updatePeter Eisentraut
2004-12-14Cope with circularities involving a view's ON SELECT rule. I originallyTom Lane
thought there couldn't be any, but the folly of this was exposed by an example from andrew@supernews.com 5-Dec-2004. The patch applies the identical logic already used for table constraints and defaults to ON SELECT rules, so I have reasonable confidence in it even though it might look like complicated logic.
2004-12-14Fix pg_dump to ensure that a comment on a table CHECK constraint cannotTom Lane
be emitted too soon. The previous code got this right in the case where the CHECK was emitted as a separate ALTER TABLE command, but not in the case where the CHECK is emitted right in CREATE TABLE. Per report from Slawomir Sudnik. Note: this code is pretty ugly; it'd perhaps be better to treat comments as independently sortable dump objects. That'd be much too invasive a change for RC time though.
2004-12-14Fix typoPeter Eisentraut
2004-12-14Prevent pg_resetxlog from being run as root. If this is allowed, someNeil Conway
root-owned files will be written to the data directory, leaving it in an unusable state.
2004-12-13New translationPeter Eisentraut
2004-12-13Translation updatesPeter Eisentraut
2004-12-13Clearify which version numbers are bumped for major and minor releases.Bruce Momjian
2004-12-13New translationsPeter Eisentraut
2004-12-13Translation updatesPeter Eisentraut
2004-12-13Avoid generating excess (and illegal) parentheses around an aliased JOINTom Lane
in prettyprint mode. Andreas Pflug
2004-12-12Add regression tests for the fix committed by Tom for casting betweenNeil Conway
the row types of parent/child tables.
2004-12-12PREPARE and EXPLAIN need to copy the source query just like we recentlyTom Lane
had to do in DECLARE CURSOR. AFAICS these are all the places affected. PREPARE case per example from Michael Fuhr, EXPLAIN case located by grepping for planner calls ...
2004-12-12Add missing newlines at end of error messages.Peter Eisentraut
2004-12-12Translation updatesPeter Eisentraut
2004-12-12Fix problems with certain shells (e.g., FreeBSD, Cygwin) clearing thePeter Eisentraut
exit status in multiline traps.
2004-12-12Upgrade formrdesc() so that it can correctly initialize the tupledescTom Lane
(rd_att) field of a nailed-in-cache relcache entry. This fixes the bug reported by Alvaro 8-Dec-2004; I believe it probably also explains Grant Finnemore's report of 10-Sep-2004. In an unrelated change in the same file, put back 7.4's response to failure to rename() the relcache init file, ie, unlink the useless temp file. I did not put back the warning message, since there might actually be some reason not to have that.
2004-12-11Instead of supposing (wrongly, in the general case) that the rowtypeTom Lane
of an inheritance child table is binary-compatible with the rowtype of its parent, invent an expression node type that does the conversion correctly. Fixes the new bug exhibited by Kris Shannon as well as a lot of old bugs that would only show up when using multiple inheritance or after altering the parent table.
2004-12-11Translation updatesPeter Eisentraut
2004-12-11Translation updatesPeter Eisentraut
2004-12-11Translation updatesPeter Eisentraut
2004-12-11Translation updatesPeter Eisentraut
2004-12-11Translation updatesPeter Eisentraut
2004-12-11Translation updatesPeter Eisentraut
2004-12-06ActiveSnapshot must be set to something valid while running deferredTom Lane
triggers during COMMIT. Per trouble report from Frank van Vugt.
2004-12-06Translation updatesPeter Eisentraut
2004-12-06Fixed bug in parsing of typedef'ed array sizes.Michael Meskes
Synced parser.
2004-12-06Fix off-by-1 bug in pg_ctl in -D handling, per report from pjmodos@parba.czNeil Conway
2004-12-04Back out addition of Win1252 encoding.Bruce Momjian
2004-12-03As long as we're forcing an ORDER BY in these four join queries, we hadTom Lane
better make sure the sort order is totally specified; else we get burnt by platform-specific behavior of qsort() with equal keys. Per buildfarm results.
2004-12-03Use StrNCpy not strncpy to fill hash key, to ensure the resulting keyTom Lane
is null-terminated. I think this is not a real bug because the parser would always have truncated the identifier to NAMEDATALEN-1 already, but let's be safe. Per report from Klocwork.
2004-12-03Adjust help message for --no-owner, per Alvaro Herrera.Tom Lane
2004-12-03> If it bothers you that much. I'd make a flag, cleared at the start ofBruce Momjian
> each COPY, and then where we test for CR or LF in CopyAttributeOutCSV, > if the flag is not set then set it and issue the warning. Andrew Dunstan
2004-12-03Fix compile breakage from SIGPIPE fix for threading.Bruce Momjian
2004-12-03Back out fix for Unicode characters above 0x10000Bruce Momjian
2004-12-02Code review for recent libpq changes. Be more careful about errorTom Lane
handling in SIGPIPE processing; avoid unnecessary pollution of application link-symbol namespace; spell 'pointer to function' in the conventional way.
2004-12-02> I have installed your patch and adjusted the names of the standardsBruce Momjian
> throughout to the spellings suggested by your book. Great. A follow-up patch for current CVS HEAD is attached, and available at http://troels.arvin.dk/db/pgsql/conformance/pgsql-sql-conformance- followup.patch The patch - includes a core feature ID that had been left out by mistake (C011) - updates the sql_feature_packages.txt table to reflect changes in SQL:2003 which were not covered properly in my last patch Troels Arvin
2004-12-02> I enclose a short patch to reduce the PGARCH_RESTART_INTERVAL from 60Bruce Momjian
> seconds to 10 seconds. The original number was plucked from thin air > some months ago, and I'd like to review that now based upon further > thought, observation and experience. > > This change has little or no effect on performance, since the interval > is there mainly to avoid repeated respawn attempts if archiver fails at > startup. Archiver start-up time is very quick, so there is little danger > of exceeding 10 seconds. > > On a busy system, if the archiver does die, then many files can build up > in the 60 seconds before respawning. That xlog file backlog could take > some time to clear. This then leaves a larger than normal window of data > loss for a possibly long period. > > It's a minor change only, with no other effect on function. Simon Riggs
2004-12-02Fix for Unicode characters above 0x10000.Bruce Momjian
John Hansen
2004-12-02On win32, there is currently no way to get the equivalent function ofBruce Momjian
the "ps" argument list on Unix - meaning that there is no way to identify for example the stats processors or the bgwriter. This patch adds this functionality, in a bit of a crufty way. It creates a kernel Event object with the name of what would be in the title. This can be viewed using for example Process Explorer. It's been very handy for me during both debugging and using. I haven't figured a better way, but perhaps someone has one that's less crufty? If not, here is at least a working patch :-) Magnus Hagander
2004-12-02Add Charset WIN1252 support.Bruce Momjian
Roland Volkmann
2004-12-02Change Win32 dlerror message to:Bruce Momjian
return "dynamic loading error";