aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Code cleanup for log_disconnections(). Patch from Qingqing Zhou,Neil Conway2005-10-05
| | | | fixes by Neil Conway.
* Make set_function_size_estimates() marginally smarter: per originalTom Lane2005-10-05
| | | | comment, it can at least test whether the expression returns set.
* Also synced the ecpg lexer with the backend lexer.Michael Meskes2005-10-05
|
* Fix pgxs for spaces in file names on Win32Bruce Momjian2005-10-05
| | | | Dave Page
* Clean up some messages and fix missing translation support. Option --logPeter Eisentraut2005-10-04
| | | | renamed to --log-file for clarity.
* Somehow I missed some parser changes, so this commit comes pretty late. I ↵Michael Meskes2005-10-04
| | | | | | just synced the parser of ecpg against the backend version, but still have to sync the lexer. Also I fixed a bug in a bug fix I committed a few weeks ago. he check for a varchar pointer was incomplete.
* Add _ to gettext triggers. Must have been forgotten here when it was introduced.Peter Eisentraut2005-10-04
|
* Add an expected case to cover error message as spelled by python 2.2.3.Tom Lane2005-10-04
| | | | Per buildfarm results and Michael Fuhr.
* COPY's test for read-only transaction was backward; it prohibited COPY TOTom Lane2005-10-03
| | | | where it should prohibit COPY FROM. Found by Alon Goldshuv.
* Add a trace_sort option to help with measuring resource usage of externalTom Lane2005-10-03
| | | | sort operations. Per recent discussion. Simon Riggs and Tom Lane.
* Separate out the VacRUsage stuff as an independent module, in preparationTom Lane2005-10-03
| | | | for using it for other things besides VACUUM.
* Preserve tuple OIDs during ATRewriteTable. Per gripe from Duncan Crombie.Tom Lane2005-10-03
|
* Expand pg_control information so that we can verify that the databaseTom Lane2005-10-03
| | | | | | 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.
* Change nextval and other sequence functions to specify their sequenceTom Lane2005-10-02
| | | | | | | | | | | | | | | 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).
* _SPI_execute_plan failed to return result tuple table to caller inTom Lane2005-10-01
| | | | | | | | | 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.
* Equalize wordings to avoid redundant translation work.Peter Eisentraut2005-09-30
|
* Clean up the help displays.Peter Eisentraut2005-09-30
|
* Change the option spelling to --connection-limit to be consistent with thePeter Eisentraut2005-09-30
| | | | SQL option spelling.
* Fix confusion between relfilenode and Oid.Alvaro Herrera2005-09-29
| | | | | Also, make pg_total_relation_size include the size of the TOAST index.
* Correct spellingPeter Eisentraut2005-09-29
|
* Repair planning bug introduced in 7.4: outer-join ON clauses that referencedTom Lane2005-09-28
| | | | | | 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).
* Improve messagesPeter Eisentraut2005-09-28
|
* Some marginal tweaks to make 'make installcheck' mostly work whenTom Lane2005-09-27
| | | | | 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.
* Fix problems with PGXS builds against an installation tree that wasTom Lane2005-09-27
| | | | | | | 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.
* Suppress FAQ and TODO changes in pgcvslog output.Bruce Momjian2005-09-27
|
* PGXS should be set with := not =, as specified in the documentation,Tom Lane2005-09-27
| | | | to avoid useless multiple executions of pg_config.
* Fix incorrect psql \x memory allocation for numericlocale. Redesign APIBruce Momjian2005-09-27
| | | | to be less error-prone.
* Fix our version of strdup() to adhere to the standard semantics forTom Lane2005-09-27
| | | | | out-of-memory --- that is, return NULL rather than dumping core. Noted by Qingqing Zhou.
* Rename variable for clarity.Bruce Momjian2005-09-26
|
* Don't need gettext calls around debug messages.Peter Eisentraut2005-09-26
|
* Log protocol-excute fetch operatation as fetch, rather than execute,Bruce Momjian2005-09-26
| | | | adjusted from a patch by Simon.
* The original patch to avoid building a hash join's hashtable when theTom Lane2005-09-25
| | | | | | | | 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.
* Clean up possibly-uninitialized-variable warnings reported by gcc 4.x.Tom Lane2005-09-24
|
* Suppress signed-vs-unsigned-char warnings.Tom Lane2005-09-24
|
* In a machine where INT64_IS_BUSTED, we can only support 32-bit valuesTom Lane2005-09-24
| | | | | | | 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.
* Add comments explaining clauses used by CREATE ROLE but not ALTER.Bruce Momjian2005-09-23
|
* Fix typo in comment.Tom Lane2005-09-23
|
* Fix bug introduced into indexable_outerrelids() by an ill-consideredTom Lane2005-09-22
| | | | | | | | | | "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.
* Add instructions.Bruce Momjian2005-09-22
|
* Add "codelines" script to compute number of lines in a releaes.Bruce Momjian2005-09-22
|
* pgindent new GIST index code, per request from Tom.Bruce Momjian2005-09-22
|
* Adjust GiST error messages to conform to message style guidelines.Tom Lane2005-09-22
|
* Take exclusive buffer lock in scan_heap() to eliminate some corner casesTom Lane2005-09-22
| | | | | | | | 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.
* This patch cleans up the access to members of ItemIdData.Bruce Momjian2005-09-22
| | | | | | It uses existing macros instead of touching directly. ITAGAKI Takahiro
* Fix psql \x by removing puts().Bruce Momjian2005-09-22
| | | | Greg Sabino Mullane
* Suppress port number for unix domain sockets in log connect/disconnectBruce Momjian2005-09-22
| | | | messages.
* Remove some dead code.Tom Lane2005-09-22
|
* Fix postgresql.conf lexer to accept doubled single quotes in literalTom Lane2005-09-21
| | | | | | 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.
* Suppress database dump item when --table and/or --schema switch wasTom Lane2005-09-21
| | | | given, per gripe from Michael Fuhr.
* optimize_minmax_aggregates() neglected to check for inherited tables.Tom Lane2005-09-21
| | | | Per report from Cesar Paipilla.