aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Allocate a few extra LWLocks for possible use by add-on modules.Tom Lane2005-10-07
| | | | Per request from Marc Munro.
* Marginal performance improvement in aclmask(): don't bother withTom Lane2005-10-07
| | | | | | testing ownership if the caller isn't interested in any GOPTION bits (which is the common case). It did not matter in 8.0 where the ownership test was just a trivial equality test, but it matters now.
* Recognize ERROR_SHARING_VIOLATION (translate to EACCES), increase logTom Lane2005-10-07
| | | | | | level for unrecognized win32 error codes to LOG, and make messages conform to style guide. Per old suggestion from Qingqing Zhou, which seems to have gotten lost in the shuffle.
* (Apologies for fat-fingering cvs commit command...) Should have read:Tom Lane2005-10-07
| | | | | | | Remove unportable use of tfind/tsearch in favor of bsearch. Fix up random number generator to use random() not rand() and to actually honor its min/max arguments properly. That wasn't so important before, but with exposure of capability to ask for general ranges, it will be.
* gniTom Lane2005-10-07
|
* Remove an unused typedef.Alvaro Herrera2005-10-07
|
* Update:Bruce Momjian2005-10-07
| | | | | | | | < * Consider compressing indexes by storing key prefix values shared by > * Consider compressing indexes by storing key values duplicated in 735a736,737 > > This is difficult because it requires datatype-specific knowledge.
* Add:Bruce Momjian2005-10-07
| | | | | | < > * Consider compressing indexes by storing key prefix values shared by > several rows as a single index entry
* Minor dbf2pg fixes from Martin Pitt: check for failure when issuingTom Lane2005-10-06
| | | | CREATE TABLE command, and translate dBase's 'M' field type to 'text'.
* Marginal speedup in RelationIsVisible and TypeIsVisible: avoid a redundantTom Lane2005-10-06
| | | | | | | cache lookup in the success case. This won't help much for cases where the given relation is far down the search path, but it does not hurt in any cases either; and it requires only a little new code. Per gripe from Jim Nasby about slowness of \d with many tables.
* Minor API cleanup for async notifications: we can only register theNeil Conway2005-10-06
| | | | | current backend in pg_listener, so there is little point in making the PID to register part of async.c's public API. Other minor tweaks.
* Minor tweaks for PL/PgSQL documentation.Neil Conway2005-10-06
|
* When a function not returning RECORD has a single OUT parameter, useTom Lane2005-10-06
| | | | | | | | the parameter's name (if any) as the default column name for SELECT FROM the function, rather than the function name as previously. I still think this is a bad idea, but I lost the argument. Force decompilation of function RTEs to specify full aliases always, to reduce the odds of this decision breaking dumped views.
* Fix oversight in indexscan plan creation. I recently added code to useTom Lane2005-10-06
| | | | | | | | predicate_implied_by() to detect redundant filter conditions, but forgot that predicate_implied_by() assumes its first argument contains only immutable functions. Add a check to guarantee that. Also, test to see if filter conditions can be discarded because they are redundant with the predicate of a partial index.
* pg_config should print an error message to stderr and exit if anPeter Eisentraut2005-10-06
| | | | information item is not available.
* Revise pgstats stuff to fix the problems with not counting accessesTom Lane2005-10-06
| | | | | | | generated by bitmap index scans. Along the way, simplify and speed up the code for counting sequential and index scans; it was both confusing and inefficient to be taking care of that in the per-tuple loops, IMHO. initdb forced because of internal changes in pg_stat view definitions.
* Code cleanup for log_disconnections(). Patch from Qingqing Zhou,Neil Conway2005-10-05
| | | | fixes by Neil Conway.
* Improve wording of entry.Bruce Momjian2005-10-05
|
* Make set_function_size_estimates() marginally smarter: per originalTom Lane2005-10-05
| | | | comment, it can at least test whether the expression returns set.
* Add -Winline to the default CFLAGS for gcc, and removeTom Lane2005-10-05
| | | | -Wold-style-definition, per recent discussion.
* 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
* Update Japanese FAQ.Bruce Momjian2005-10-05
| | | | Jun Kuwamura
* Update FAQ for version number.Bruce Momjian2005-10-05
|
* Clean up some messages and fix missing translation support. Option --logPeter Eisentraut2005-10-04
| | | | renamed to --log-file for clarity.
* Fix compile errorTeodor Sigaev2005-10-04
|
* Oops. Partially saved file was committed.Tatsuo Ishii2005-10-04
|
* Allow multiple -f options.Tatsuo Ishii2005-10-04
| | | | | Make pgbench "script driven" to eliminate hard coded transaction scenario. (Tatsuo Ishii)
* 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.
* Fix procedure for updating nextval() defaults so that it actually works.Tom Lane2005-10-03
| | | | Update release dates for pending back-branch releases.
* Optimize benchmark query and update benchmark's results.Teodor Sigaev2005-10-03
|
* Fix font of sequence header.Bruce Momjian2005-10-03
|
* Fix null bytes at end of file (weird).Bruce Momjian2005-10-03
|
* Update sequence docs.Bruce Momjian2005-10-03
|
* Preserve tuple OIDs during ATRewriteTable. Per gripe from Duncan Crombie.Tom Lane2005-10-03
|
* Merge Tom and my descriptions of new sequence behavior into one entry.Bruce Momjian2005-10-03
|
* Update release notes to show how to upgrade a database to use the newBruce Momjian2005-10-03
| | | | early binding for nextval() calls in default clauses.
* Remove, 8.1 completed items already removed:Bruce Momjian2005-10-03
| | | | < * -Have sequence dependency track use of DEFAULT sequences
* Done:Bruce Momjian2005-10-03
| | | | | | < * Have sequence dependency track use of DEFAULT sequences, < seqname.nextval? > * -Have sequence dependency track use of DEFAULT sequences
* 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.
* Adjust wording.Bruce Momjian2005-10-01
|
* One of the web pages mentioned in dmetaphone.c has moved. Also fixBruce Momjian2005-09-30
| | | | | | | | | | a few typos in comments. The dictionaries I checked list "altho" as a variant of "although," but I didn't find any other instances of the former in the source tree so I changed it. Michael Fuhr
* Equalize wordings to avoid redundant translation work.Peter Eisentraut2005-09-30
|