aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Actually ... it's pretty silly that parse_oper.c doesn't set up theTom Lane2007-11-22
| | | | | | | opfuncid of an OpExpr initially, considering that it has the information at hand already. We'll still treat opfuncid as a cache rather than a guaranteed-valid value, but this change saves one more syscache lookup in the normal code path.
* Save one syscache lookup when examining volatility or strictness ofTom Lane2007-11-22
| | | | | | | | OpExpr and related nodes. We're going to have to set the opfuncid of such nodes eventually (if we haven't already), so we might as well exploit the opportunity to cache the function OID. Buys back some of the extra planner overhead noted by Guillaume Smet, though I still need to fool with equivclass.c to really respond to that.
* Add more comments about thousands separator handling.Bruce Momjian2007-11-22
|
* Prevent Perl from introducing a possibly-incompatible definition of typeTom Lane2007-11-22
| | | | | | | | | | "bool" into plperl.c. This has always been a hazard since Perl allows a platform-specific choice to define bool as int rather than char, but evidently this didn't happen on any platform we support ... until OS X 10.5. Per report from Brandon Maust. Back-patch as far as 8.0 --- a bit arbitrary, but it seems unlikely anyone will be trying to port 7.x onto new platforms.
* Add comments about thousands separator logic.Bruce Momjian2007-11-22
|
* WSATYPE_NOT_FOUND was already defined for BCC so don't redefine itBruce Momjian2007-11-21
| | | | (conflicting values).
* Fix build of libpq for Borland CC.Bruce Momjian2007-11-21
|
* When setting default thousands separator when locale has "", use logicBruce Momjian2007-11-21
| | | | so new thousands separator doesn't match decimal symbol.
* Fix typo in comment.Bruce Momjian2007-11-21
|
* Fix bogus length calculation that could lead to crash if the stringTom Lane2007-11-20
| | | | | | happened to be right up against the end of memory, per report from Matt Magoffin. While at it, avoid useless multiple copying of string by not depending on xmlStrncatNew.
* Fix pg_ctl -t to register -t value, per Alvaro.Bruce Momjian2007-11-20
|
* Change descriptions of entity and tag objects to "XML entity" and "XML tag".Andrew Dunstan2007-11-20
| | | | | | Allow tag and entity names that follow XML rules. Provide for hexadecimal as well as decimal numeric entities. Adjust code names to coincide with new descriptions.
* Update comment.Bruce Momjian2007-11-19
|
* Add comment about COMMENT ON DATABASE failing for differently-namedBruce Momjian2007-11-19
| | | | databases.
* Improve GIN index build's tracking of memory usage by usingTom Lane2007-11-16
| | | | | | | | | GetMemoryChunkSpace, not just the palloc request size. This brings the allocatedMemory counter close enough to reality (as measured by MemoryContextStats printouts) that I think we can get rid of the arbitrary factor-of-2 adjustment that was put into the code initially. Given the sensitivity of GIN build to work memory size, not using as much of work memory as we're allowed to seems a pretty bad idea.
* GIN index build's allocatedMemory counter needs to be long, not uint32.Tom Lane2007-11-16
| | | | | | | | | Else, in a 64-bit machine with maintenance_work_mem set to above 4Gb, the counter overflows and we never recognize having reached the maintenance_work_mem limit. I believe this explains out-of-memory failure recently reported by Sean Davis. This is a bug, so backpatch to 8.2.
* Fix inconsistent message wording, and split off a couple of duplicated strings.Alvaro Herrera2007-11-16
|
* Repair still another bug in the btree page split WAL reduction patch:Tom Lane2007-11-16
| | | | | | | it failed for splits of non-leaf pages because in such pages the first data key on a page is suppressed, and so we can't just copy the first key from the right page to reconstitute the left page's high key. Problem found by Koichi Suzuki, patch by Heikki.
* Fix tsvectorout() and tsqueryout() to escape backslesh, add test of that.Teodor Sigaev2007-11-16
| | | | | | Patch by Bruce Momjian <bruce@momjian.us> Backpatch is needed, but it's impossible to apply it directly
* update files for beta3Marc G. Fournier2007-11-16
|
* Small comment spacing improvement.Bruce Momjian2007-11-16
|
* Better guard token used by pgindent.Bruce Momjian2007-11-16
|
* Run pgindent on remaining files now that LOOPBYTE is a usable macro.Bruce Momjian2007-11-16
|
* Cleanup for new else/comment handling.Bruce Momjian2007-11-16
|
* Fix stupid typo in recently-added code :-(Tom Lane2007-11-16
|
* Modify LOOPBYTE/LOOPBIT macros to be more logical; rather than have theBruce Momjian2007-11-16
| | | | | | | for() body passed as a parameter, make the macros act as simple headers to code blocks. This allows pgindent to be run on these files.
* Fix pgindent to properly handle 'else' and single-line comments on theBruce Momjian2007-11-15
| | | | | same line; previous fix was only partial. Re-run pgindent on files that need it.
* Re-run pgindent with updated list of typedefs. (Updated README shouldBruce Momjian2007-11-15
| | | | avoid this problem in the future.)
* Beef up README instructions, again.Bruce Momjian2007-11-15
|
* CUpdate README to suggest 'gmake distclean'. Add library typedefs.Bruce Momjian2007-11-15
|
* Update pgtools README to be clearer about typdefs.Bruce Momjian2007-11-15
|
* Update pgindent with current typedefs.Bruce Momjian2007-11-15
|
* When logging the recovery.conf parameters, show them quoted as they wouldPeter Eisentraut2007-11-15
| | | | appear in the configuration file.
* Add blank lines to pgindent.Bruce Momjian2007-11-15
|
* Use ftruncate() not truncate() in mdunlink. Seems Windows doesn'tTom Lane2007-11-15
| | | | support the latter.
* Update timezone data files to release 2007i of the zic database.Tom Lane2007-11-15
|
* pgindent run for 8.3.Bruce Momjian2007-11-15
|
* Translation updatesPeter Eisentraut2007-11-15
|
* Prevent re-use of a deleted relation's relfilenode until after the nextTom Lane2007-11-15
| | | | | | | | | | checkpoint. This guards against an unlikely data-loss scenario in which we re-use the relfilenode, then crash, then replay the deletion and recreation of the file. Even then we'd be OK if all insertions into the new relation had been WAL-logged ... but that's not guaranteed given all the no-WAL-logging optimizations that have recently been added. Patch by Heikki Linnakangas, per a discussion last month.
* Message improvementsPeter Eisentraut2007-11-15
|
* Add to synopsis that timeout option also applies to stop modePeter Eisentraut2007-11-15
|
* Make help synopsis consistentPeter Eisentraut2007-11-15
|
* Make synopses of -t option consistentPeter Eisentraut2007-11-15
|
* Add a rank/(rank+1) normalization option to ts_rank(). While the usefulnessTom Lane2007-11-14
| | | | | | of this seems a bit marginal, if it's useful enough to be shown in the manual then we probably ought to support doing it without double evaluation of the ts_rank function. Per my proposal earlier today.
* Fix incorrect calculation of elapsed_xlogs. Itagaki TakahiroTom Lane2007-11-14
|
* Add an Accept parameter to "simple" dictionaries. The default of trueTom Lane2007-11-14
| | | | | | | gives the old behavior; selecting false allows the dictionary to be used as a filter ahead of other dictionaries, because it will pass on rather than accept words that aren't in its stopword list. Jan Urbanski
* Clean up some stray references to tsearch2.Tom Lane2007-11-13
|
* contrib/tsearch2 need not be special-cased any longer.Tom Lane2007-11-13
|
* Resurrect the code for the rewrite(ARRAY[...]) aggregate function,Tom Lane2007-11-13
| | | | and put it into contrib/tsearch2 compatibility module.
* I find that an out-of-the-box installation of OSSP uuid 1.6.0 installsTom Lane2007-11-13
| | | | | | itself as libuuid, not libossp-uuid which was the only case expected by our build support. Install a configure test to determine which name to use (and to check that the library is present at all).