summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2005-10-03COPY's test for read-only transaction was backward; it prohibited COPY TOTom Lane
where it should prohibit COPY FROM. Found by Alon Goldshuv.
2005-10-03Add a trace_sort option to help with measuring resource usage of externalTom Lane
sort operations. Per recent discussion. Simon Riggs and Tom Lane.
2005-10-03Separate out the VacRUsage stuff as an independent module, in preparationTom Lane
for using it for other things besides VACUUM.
2005-10-03Preserve tuple OIDs during ATRewriteTable. Per gripe from Duncan Crombie.Tom Lane
2005-10-03Expand pg_control information so that we can verify that the databaseTom Lane
was created on a machine with alignment rules and floating-point format similar to the current machine. Per recent discussion, this seems like a good idea with the increasing prevalence of 32/64 bit environments.
2005-10-02Change nextval and other sequence functions to specify their sequenceTom Lane
argument as a 'regclass' value instead of a text string. The frontend conversion of text string to pg_class OID is now encapsulated as an implicitly-invocable coercion from text to regclass. This provides backwards compatibility to the old behavior when the sequence argument is explicitly typed as 'text'. When the argument is just an unadorned literal string, it will be taken as 'regclass', which means that the stored representation will be an OID. This solves longstanding problems with renaming sequences that are referenced in default expressions, as well as new-in-8.1 problems with renaming such sequences' schemas or moving them to another schema. All per recent discussion. Along the way, fix some rather serious problems in dbmirror's support for mirroring sequence operations (int4 vs int8 confusion for instance).
2005-10-01_SPI_execute_plan failed to return result tuple table to caller inTom Lane
the ProcessUtility case, resulting in an intratransaction memory leak if a utility command actually did return any tuples, as reported by Dmitry Karasik. Fix this and also make the behavior more consistent for cases involving nested SPI operations and multiple query trees, by ensuring that we store the state locally until it is ready to be returned to the caller.
2005-09-30Equalize wordings to avoid redundant translation work.Peter Eisentraut
2005-09-30Clean up the help displays.Peter Eisentraut
2005-09-30Change the option spelling to --connection-limit to be consistent with thePeter Eisentraut
SQL option spelling.
2005-09-29Fix confusion between relfilenode and Oid.Alvaro Herrera
Also, make pg_total_relation_size include the size of the TOAST index.
2005-09-29Correct spellingPeter Eisentraut
2005-09-28Repair planning bug introduced in 7.4: outer-join ON clauses that referencedTom Lane
only the inner-side relation would be considered as potential equijoin clauses, which is wrong because the condition doesn't necessarily hold above the point of the outer join. Per test case from Kevin Grittner (bug#1916).
2005-09-28Improve messagesPeter Eisentraut
2005-09-27Some marginal tweaks to make 'make installcheck' mostly work whenTom Lane
building contrib with USE_PGXS. To make it work all the way, the pg_regress script would need to be included in the installation tree.
2005-09-27Fix problems with PGXS builds against an installation tree that wasTom Lane
relocated after installation. We can't trust the installation paths inserted into Makefile.global by configure, so instead we must get the paths from pg_config. This requires extending pg_config to support all the separately-configurable path names, but that was on TODO anyway.
2005-09-27Suppress FAQ and TODO changes in pgcvslog output.Bruce Momjian
2005-09-27PGXS should be set with := not =, as specified in the documentation,Tom Lane
to avoid useless multiple executions of pg_config.
2005-09-27Fix incorrect psql \x memory allocation for numericlocale. Redesign APIBruce Momjian
to be less error-prone.
2005-09-27Fix our version of strdup() to adhere to the standard semantics forTom Lane
out-of-memory --- that is, return NULL rather than dumping core. Noted by Qingqing Zhou.
2005-09-26Rename variable for clarity.Bruce Momjian
2005-09-26Don't need gettext calls around debug messages.Peter Eisentraut
2005-09-26Log protocol-excute fetch operatation as fetch, rather than execute,Bruce Momjian
adjusted from a patch by Simon.
2005-09-25The original patch to avoid building a hash join's hashtable when theTom Lane
outer relation is empty did not work, per test case from Patrick Welche. It tried to use nodeHashjoin.c's high-level mechanisms for fetching an outer-relation tuple, but that code expected the hash table to be filled already. As patched, the code failed in corner cases such as having no outer-relation tuples for the first hash batch. Revert and rewrite.
2005-09-24Clean up possibly-uninitialized-variable warnings reported by gcc 4.x.Tom Lane
2005-09-24Suppress signed-vs-unsigned-char warnings.Tom Lane
2005-09-24In a machine where INT64_IS_BUSTED, we can only support 32-bit valuesTom Lane
for int8 and related types. However we might be talking to a client that has working int64; so pq_getmsgint64 really needs to check the incoming value and throw an overflow error if we can't represent it accurately.
2005-09-23Add comments explaining clauses used by CREATE ROLE but not ALTER.Bruce Momjian
2005-09-23Fix typo in comment.Tom Lane
2005-09-22Fix bug introduced into indexable_outerrelids() by an ill-consideredTom Lane
"optimization". When we find a potentially useful joinclause, we have to add all its other required_relids to the result, not only the other clause_relids. They are different in the case of a joinclause whose applicability has to be postponed due to outer join. We have to include the extra rels because otherwise, after best_inner_indexscan masks the join rels with index_outer_relids, it will always fail to find the joinclause as applicable. Per report from Husam Tomeh.
2005-09-22Add instructions.Bruce Momjian
2005-09-22Add "codelines" script to compute number of lines in a releaes.Bruce Momjian
2005-09-22pgindent new GIST index code, per request from Tom.Bruce Momjian
2005-09-22Adjust GiST error messages to conform to message style guidelines.Tom Lane
2005-09-22Take exclusive buffer lock in scan_heap() to eliminate some corner casesTom Lane
in which invalid page data could be transiently written to disk by concurrent bgwriter activity. There doesn't seem any risk of loss of actual user data, but an empty page could possibly be left corrupt if a crash occurs before the correct data gets written out. Pointed out by Alvaro Herrera.
2005-09-22This patch cleans up the access to members of ItemIdData.Bruce Momjian
It uses existing macros instead of touching directly. ITAGAKI Takahiro
2005-09-22Fix psql \x by removing puts().Bruce Momjian
Greg Sabino Mullane
2005-09-22Suppress port number for unix domain sockets in log connect/disconnectBruce Momjian
messages.
2005-09-22Remove some dead code.Tom Lane
2005-09-21Fix postgresql.conf lexer to accept doubled single quotes in literalTom Lane
strings. This is consistent with SQL conventions, and since Bruce already changed initdb in a way that assumed it worked like this, seems we'd better make it work like this.
2005-09-21Suppress database dump item when --table and/or --schema switch wasTom Lane
given, per gripe from Michael Fuhr.
2005-09-21optimize_minmax_aggregates() neglected to check for inherited tables.Tom Lane
Per report from Cesar Paipilla.
2005-09-20Fix interaction between psql \set AUTOCOMMIT and "ON_ERROR_ROLLBACK"Bruce Momjian
by properly updating transaction state after AUTOCOMMIT.
2005-09-20Return proper value for psql -f filename failure if filename open fails.Bruce Momjian
Backpatch to 8.0.X.
2005-09-20autovacuum setting false -> off, for consistencyBruce Momjian
2005-09-19Print proper cause of statement cancel, user interaction or timeout.Bruce Momjian
2005-09-18Clarify some error messagesPeter Eisentraut
2005-09-16Adjust regression for new cancel query message.Bruce Momjian
2005-09-16Update query cancel message:Bruce Momjian
errmsg("canceling query due to user request or statement timeout")));
2005-09-16Adjust bcc to work for thread changes.Bruce Momjian