aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Update documentation about postgresqlconf to mention default units thatBruce Momjian2007-01-20
| | | | | | | | match the postgresql.conf file. Also add units to descriptions that lacked them. Wording improvements. Mention pg_settings.unit as the way to find the default units for setting. Backpatch to 8.2.X.
* Fix broken markup.Tom Lane2007-01-20
|
* List disabled triggers separately in psql's "\d <table>" output.Neil Conway2007-01-20
| | | | | Previously, disabled triggers were not displayed any differently than enabled ones, which was quite misleading. Patch from Brendan Jurd.
* Refactor planner's pathkeys data structure to create a separate, explicitTom Lane2007-01-20
| | | | | | | | | | | | | | representation of equivalence classes of variables. This is an extensive rewrite, but it brings a number of benefits: * planner no longer fails in the presence of "incomplete" operator families that don't offer operators for every possible combination of datatypes. * avoid generating and then discarding redundant equality clauses. * remove bogus assumption that derived equalities always use operators named "=". * mergejoins can work with a variety of sort orders (e.g., descending) now, instead of tying each mergejoinable operator to exactly one sort order. * better recognition of redundant sort columns. * can make use of equalities appearing underneath an outer join.
* Refactor the index AM API slightly: move currentItemData andNeil Conway2007-01-20
| | | | | | | currentMarkData from IndexScanDesc to the opaque structs for the AMs that need this information (currently gist and hash). Patch from Heikki Linnakangas, fixes by Neil Conway.
* Update build time estimate.Peter Eisentraut2007-01-20
|
* Remove remains of old depend target.Peter Eisentraut2007-01-20
|
* Regression tests for large objects. Patch from Jeremy Drake.Neil Conway2007-01-20
|
* Modify max_fsm_pages in postgresql.conf.sample to show a typical value,Bruce Momjian2007-01-20
| | | | rather than a value too high.
* Teach psql's \lo slash commands to respect quiet mode, and to outputNeil Conway2007-01-20
| | | | HTML in HTML mode. Patch from Jeremy Drake.
* Document that to remove template1, datistemplate must be 'false'.Bruce Momjian2007-01-20
| | | | Backpatch to 8.2.
* The libpq library directory was mentioned here in the wrong place, whichPeter Eisentraut2007-01-20
| | | | | might lead to a previously installed libpq being used instead. But we don't actually have to link with libpq here at all, so remove it.
* Only build ecpg test code when the test is to be performed, in line withPeter Eisentraut2007-01-20
| | | | other test code.
* Move code that places LOG error level between ERROR and PANIC into newBruce Momjian2007-01-20
| | | | function is_log_level_output(), for code clarity.
* Fix xmlconcat regression testPeter Eisentraut2007-01-20
|
* Fix xmlconcat by properly merging the XML declarations. Add aggregatePeter Eisentraut2007-01-20
| | | | function xmlagg.
* Add wiki URL:Bruce Momjian2007-01-20
| | | | | | < first. > first. There is also a developer's wiki at > http://developer.postgresql.org.
* Add missing copyright blurb, make ruleutils.c use the standard layoutNeil Conway2007-01-20
| | | | for its header comment.
* Add items:Bruce Momjian2007-01-19
| | | | | | | | | | | > o Allow multiple vacuums so large tables do not starve small > tables > > http://archives.postgresql.org/pgsql-general/2007-01/msg00031.php > > o Improve control of auto-vacuum > > http://archives.postgresql.org/pgsql-hackers/2006-12/msg00876.php
* Fix pg_regress breakage for PL and contrib tests, by not requiring thatAlvaro Herrera2007-01-19
| | | | "input" and "output" dirs be necessarily present.
* Add URL for:Bruce Momjian2007-01-19
| | | | | * Add Globally/Universally Unique Identifier (GUID/UUID) > http://archives.postgresql.org/pgsql-general/2007-01/msg00853.php
* Add support for converting binary values (i.e. bytea) into xml values,Peter Eisentraut2007-01-19
| | | | | with new GUC parameter "xmlbinary" that controls the output encoding, as per SQL/XML standard.
* Change the sed rules in the regression test for pg_regress hackery to createAlvaro Herrera2007-01-19
| | | | | | | the generated files, to help Visual C++ to run these tests. The tests still pass in VPATH and normal builds. Patch from Magnus Hagander, editorialized by me.
* Optionally use xml2-config to detect installation locations of libxml.Peter Eisentraut2007-01-18
|
* Clean up encoding issues in the xml type: In text mode, encodingPeter Eisentraut2007-01-18
| | | | | declarations are ignored and removed, in binary mode they are honored as specified by the XML standard.
* Add a note pointing out that is_pseudo_constant_clause() doesn't checkTom Lane2007-01-17
| | | | | for aggregates. This is OK for current uses but could burn somebody someday...
* Extend yesterday's patch so that the bgwriter is also told to forgetTom Lane2007-01-17
| | | | pending fsyncs during DROP DATABASE. Obviously necessary in hindsight :-(
* Tweak the width_bucket() regression tests to avoid an unnecessaryNeil Conway2007-01-17
| | | | | dependency on the platform's floating point implementation. Per report from Stefan Kaltenbrunner.
* Mark TODO item "autovacuum on by default" as completed.Bruce Momjian2007-01-17
|
* Revise bgwriter fsync-request mechanism to improve robustness when a tableTom Lane2007-01-17
| | | | | | | | | | | | | | | | is deleted. A backend about to unlink a file now sends a "revoke fsync" request to the bgwriter to make it clean out pending fsync requests. There is still a race condition where the bgwriter may try to fsync after the unlink has happened, but we can resolve that by rechecking the fsync request queue to see if a revoke request arrived meanwhile. This eliminates the former kluge of "just assuming" that an ENOENT failure is okay, and lets us handle the fact that on Windows it might be EACCES too without introducing any questionable assumptions. After an idea of mine improved by Magnus. The HEAD patch doesn't apply cleanly to 8.2, but I'll see about a back-port later. In the meantime this could do with some testing on Windows; I've been able to force it through the code path via ENOENT, but that doesn't prove that it actually fixes the Windows problem ...
* vcbuild updates from Magnus:Neil Conway2007-01-16
| | | | | | | | | | * After Markos patch, now builds pgcrypto without zlib again * Updates README with xml info * xml requires xslt and iconv * disable unnecessary warning about __cdecl() * Add a buildenv.bat called from all other bat files to set up things like PATH for flex/bison. (Can't just set it before calling, doesn't always work when building from the GUI)
* Implement width_bucket() for the float8 data type.Neil Conway2007-01-16
| | | | | | | | | | | | | | | | | | | | | | | The implementation is somewhat ugly logic-wise, but I don't see an easy way to make it more concise. When writing this, I noticed that my previous implementation of width_bucket() doesn't handle NaN correctly: postgres=# select width_bucket('NaN', 1, 5, 5); width_bucket -------------- 6 (1 row) AFAICS SQL:2003 does not define a NaN value, so it doesn't address how width_bucket() should behave here. The patch changes width_bucket() so that ereport(ERROR) is raised if NaN is specified for the operand or the lower or upper bounds to width_bucket(). For float8, NaN is disallowed for any of the floating-point inputs, and +/- infinity is disallowed for the histogram bounds (but allowed for the operand). Update docs and regression tests, bump the catversion.
* Minor improvements to the TODO list. Add some URLs for someNeil Conway2007-01-16
| | | | | existing TODO items, and re-add a TODO item for an "estimated count" capability.
* Fix incorrect permissions check in information_schema.key_column_usage view:Tom Lane2007-01-16
| | | | | | | | | | it was checking a pg_constraint OID instead of pg_class OID, resulting in "relation with OID nnnnn does not exist" failures for anyone who wasn't owner of the table being examined. Per bug #2848 from Laurence Rowe. Note: for existing 8.2 installations a simple version update won't fix this; the easiest fix is to CREATE OR REPLACE this view with the corrected definition.
* Enable autovacuum in the default configuration, per discussion.Alvaro Herrera2007-01-16
|
* Arrange for autovacuum to be killed when another operation wants to be aloneAlvaro Herrera2007-01-16
| | | | | | accessing it, like DROP DATABASE. This allows the regression tests to pass with autovacuum enabled, which open the gates for finally enabling autovacuum by default.
* Correct a minor inaccuracy in the pg_dumpall reference page: -g dumpsNeil Conway2007-01-15
| | | | | | roles and tablespaces, no longer users and groups. Per Dave Page. Backport to 8.2 and 8.1.
* Fix localization support for multibyte encoding and C locale.Teodor Sigaev2007-01-15
| | | | Slightly reworked patch from Tatsuo Ishii
* Add a note to the docs describing NaN's equality and ordering behavior.Neil Conway2007-01-14
| | | | | Per recent -hackers thread, this is noteworthy because Postgres behaves differently from most implementations of NaN, including IEEE754.
* Fix reverse compilation of IS DOCUMENT expression.Peter Eisentraut2007-01-14
|
* Replace unnecessary DISABLE_ZLIB define in pgcrypto with HAVE_LIBZ from core.Alvaro Herrera2007-01-14
| | | | Patch from Marko Kreen.
* Add support for xmlval IS DOCUMENT expression.Peter Eisentraut2007-01-14
|
* Remove completed items, and the last is unwanted:Bruce Momjian2007-01-13
| | | | | | | | | | | | | | | | < o Fix memory leak from exceptions < < http://archives.postgresql.org/pgsql-performance/2006-06/msg00305.php < < * Allow constraint_exclusion to work for UNIONs like it does for < inheritance, allow it to work for UPDATE and DELETE statements, and allow < it to be used for all statements with little performance impact < < * Add estimated_count(*) to return an estimate of COUNT(*) < < This would use the planner ANALYZE statistics to return an estimated < count. < http://archives.postgresql.org/pgsql-hackers/2005-11/msg00943.php
* Fix handling of CC (century) format spec in to_date/to_char. According toTom Lane2007-01-12
| | | | | | | | standard convention the 21st century runs from 2001-2100, not 2000-2099, so make it work like that. Per bug #2885 from Akio Iwaasa. Backpatch to 8.2, but no further, since this is really a definitional change; users of older branches are probably more interested in stability.
* Fix compiler warningPeter Eisentraut2007-01-12
|
* Use XML output escaping also in XMLFOREST.Peter Eisentraut2007-01-12
|
* Update to_char("CC") description.Bruce Momjian2007-01-12
|
* Update error messsage wording.Bruce Momjian2007-01-12
|
* Update ORDER BY UNION function/exprssion wording (again).Bruce Momjian2007-01-12
|
* Add some notes about the basic mathematical laws that the system presumesTom Lane2007-01-12
| | | | | | hold true for operators in a btree operator family. This is mostly to clarify my own thinking about what the planner can assume for optimization purposes. (blowing dust off an old abstract-algebra textbook...)