summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2007-06-20Remove some empty columns from a few system catalog tables in theNeil Conway
SGML docs.
2007-06-19Code review for log_lock_waits patch. Don't try to issue log messages fromTom Lane
within a signal handler (this might be safe given the relatively narrow code range in which the interrupt is enabled, but it seems awfully risky); do issue more informative log messages that tell what is being waited for and the exact length of the wait; minor other code cleanup. Greg Stark and Tom Lane
2007-06-15Tweak the API for per-datatype typmodin functions so that they are passedTom Lane
an array of strings rather than an array of integers, and allow any simple constant or identifier to be used in typmods; for example create table foo (f1 widget(42,'23skidoo',point)); Of course the typmodin function has still got to pack this info into a non-negative int32 for storage, but it's still a useful improvement in flexibility, especially considering that you can do nearly anything if you are willing to keep the info in a side table. We can get away with this change since we have not yet released a version providing user-definable typmods. Per discussion.
2007-06-13Update item:Bruce Momjian
< * Allow EXPLAIN output to be more easily processed by scripts > * Allow EXPLAIN output to be more easily processed by scripts, perhaps XML
2007-06-12Update documentation of resultmap file format.Magnus Hagander
2007-06-11Improve UPDATE/DELETE WHERE CURRENT OF so that they can be used from plpgsqlTom Lane
with a plpgsql-defined cursor. The underlying mechanism for this is that the main SQL engine will now take "WHERE CURRENT OF $n" where $n is a refcursor parameter. Not sure if we should document that fact or consider it an implementation detail. Per discussion with Pavel Stehule.
2007-06-11Minor wording improvement.Tom Lane
2007-06-11Done:Bruce Momjian
< o Allow UPDATE/DELETE WHERE CURRENT OF cursor < < This requires using the row ctid to map cursor rows back to the < original heap row. This become more complicated if WITH HOLD cursors < are to be supported because WITH HOLD cursors have a copy of the row < and no FOR UPDATE lock. < http://archives.postgresql.org/pgsql-hackers/2007-01/msg01014.php < > o -Allow UPDATE/DELETE WHERE CURRENT OF cursor
2007-06-11Support UPDATE/DELETE WHERE CURRENT OF cursor_name, per SQL standard.Tom Lane
Along the way, allow FOR UPDATE in non-WITH-HOLD cursors; there may once have been a reason to disallow that, but it seems to work now, and it's really rather necessary if you want to select a row via a cursor and then update it in a concurrent-safe fashion. Original patch by Arul Shaji, rather heavily editorialized by Tom Lane.
2007-06-08Avoid passing zero as a value for vacuum_cost_limit, because it's not a validAlvaro Herrera
value for the vacuum code. Instead, make zero signify getting the value from a higher level configuration facility, just like -1 in the original coding. We still document that -1 is the value that disables the feature, to avoid confusing the user unnecessarily. Reported by Galy Lee in <200705310914.l4V9E6JA094603@wwwmaster.postgresql.org>; per subsequent discussion.
2007-06-08Add note that LIMIT without ORDER BY can produce outright nondeterministicTom Lane
results. Necessary due to introduction of syncscan patch.
2007-06-08Done:Bruce Momjian
< * Allow sequential scans to take advantage of other concurrent > * -Allow sequential scans to take advantage of other concurrent < < One possible implementation is to start sequential scans from the lowest < numbered buffer in the shared cache, and when reaching the end wrap < around to the beginning, rather than always starting sequential scans < at the start of the table. < < http://archives.postgresql.org/pgsql-patches/2006-12/msg00076.php < http://archives.postgresql.org/pgsql-hackers/2006-12/msg00408.php < http://archives.postgresql.org/pgsql-hackers/2006-12/msg00784.php < http://archives.postgresql.org/pgsql-hackers/2007-03/msg00415.php <
2007-06-07Rework temp_tablespaces patch so that temp tablespaces are assigned separatelyTom Lane
for each temp file, rather than once per sort or hashjoin; this allows spreading the data of a large sort or join across multiple tablespaces. (I remain dubious that this will make any difference in practice, but certain people insisted.) Arrange to cache the results of parsing the GUC variable instead of recomputing from scratch on every demand, and push usage of the cache down to the bottommost fd.c level.
2007-06-07Fix array_dims() example to be consistent with the data previously shown.Tom Lane
Christian Rossow
2007-06-06Fix up text concatenation so that it accepts all the reasonable cases thatTom Lane
were accepted by prior Postgres releases. This takes care of the loose end left by the preceding patch to downgrade implicit casts-to-text. To avoid breaking desirable behavior for array concatenation, introduce a new polymorphic pseudo-type "anynonarray" --- the added concatenation operators are actually text || anynonarray and anynonarray || text.
2007-06-05Downgrade implicit casts to text to be assignment-only, except for the onesTom Lane
from the other string-category types; this eliminates a lot of surprising interpretations that the parser could formerly make when there was no directly applicable operator. Create a general mechanism that supports casts to and from the standard string types (text,varchar,bpchar) for *every* datatype, by invoking the datatype's I/O functions. These new casts are assignment-only in the to-string direction, explicit-only in the other, and therefore should create no surprising behavior. Remove a bunch of thereby-obsoleted datatype-specific casting functions. The "general mechanism" is a new expression node type CoerceViaIO that can actually convert between *any* two datatypes if their external text representations are compatible. This is more general than needed for the immediate feature, but might be useful in plpgsql or other places in future. This commit does nothing about the issue that applying the concatenation operator || to non-text types will now fail, often with strange error messages due to misinterpreting the operator as array concatenation. Since it often (not always) worked before, we should either make it succeed or at least give a more user-friendly error; but details are still under debate. Peter Eisentraut and Tom Lane
2007-06-04Remove gratuitous response messages from utility programs.Peter Eisentraut
(Possibly release notes material, lest users be confused.) The --quiet option is now obsolete and without effect in createdb, createuser, dropdb, dropuser; kept for compatibility but marked for removal in 8.4. Progress messages when acting on all databases now go to stdout instead of stderr, since they are not in fact errors. Ordered options in reindexdb reference page alphabetically, like in other programs' pages.
2007-06-03Remove description for:Bruce Momjian
o -Add a GUC variable to control the tablespace for temporary objects and sort files < < It could start with a random tablespace from a supplied list and < cycle through the list. <
2007-06-03Create a GUC parameter temp_tablespaces that allows selection of theTom Lane
tablespace(s) in which to store temp tables and temporary files. This is a list to allow spreading the load across multiple tablespaces (a random list element is chosen each time a temp object is to be created). Temp files are not stored in per-database pgsql_tmp/ directories anymore, but per-tablespace directories. Jaime Casanova and Albert Cervera, with review by Bernd Helmle and Tom Lane.
2007-06-02Re-add TODO and clarify it is for the kernel cache:Bruce Momjian
< * Allow free-behind capability for large sequential scans, perhaps using < posix_fadvise() > * Allow free-behind capability for large sequential scans to avoid > kernel cache spoiling
2007-06-02TODO item not needed anymore now that the buffer cache isBruce Momjian
scan-resistant: < < * Allow free-behind capability for large sequential scans, perhaps using < posix_fadvise() < < Posix_fadvise() can control both sequential/random file caching and < free-behind behavior, but it is unclear how the setting affects other < backends that also have the file open, and the feature is not supported < on all operating systems.
2007-06-01Allow leading and trailing whitespace in the input to the booleanNeil Conway
type. Also, add explicit casts between boolean and text/varchar. Both of these changes are for conformance with SQL:2003. Update the regression tests, bump the catversion.
2007-06-01Add URL for:Bruce Momjian
o Research self-referential UPDATEs that see inconsistent row versions in read-committed mode < > http://archives.postgresql.org/pgsql-hackers/2007-06/msg00016.php
2007-06-01Update wording:Bruce Momjian
o Research self-referential UPDATEs that see inconsistent row versions in read-committed mode http://archives.postgresql.org/pgsql-hackers/2007-05/msg00507.php
2007-06-01Wording improvement.Bruce Momjian
2007-06-01Update FAQ_DEV URL to output for text format.Bruce Momjian
2007-06-01Add URL for code comments to developer's FAQ:Bruce Momjian
http://www.ibm.com/developerworks/linux/library/l-clear-code/?ca=dgr-FClnxw01linuxcodetips
2007-05-30Update:Bruce Momjian
< * Consider allowing 64-bit integers to be passed by value on 64-bit < platforms > * Consider allowing 64-bit integers and floats to be passed by value on > 64-bit platforms > > Also change 32-bit floats (float4) to be passed by value at the same > time. >
2007-05-30Fix wording:Bruce Momjian
< * Consider allowing 64-bit integers to be passed by reference on 64-bit > * Consider allowing 64-bit integers to be passed by value on 64-bit
2007-05-30Add:Bruce Momjian
> > * Consider allowing 64-bit integers to be passed by reference on 64-bit > platforms
2007-05-30Update documentation mention of VACUUM FULL and CLUSTER whereBruce Momjian
appropriate. Guillaume Cottenceau
2007-05-30Add URL for:Bruce Momjian
* Improve speed with indexes For large table adjustments during VACUUM FULL, it is faster to cluster or reindex rather than update the index. Also, index updates can bloat the index.
2007-05-30Add documentation reference to statistical functions from func.sgml.Bruce Momjian
Jim Nasby
2007-05-30Update cvsutils documentation description.Bruce Momjian
2007-05-30Update cvs instructions to suggest cvsutils.Bruce Momjian
David Fetter
2007-05-29Fix a bug in input processing for the "interval" type. Previously,Neil Conway
"microsecond" and "millisecond" units were not considered valid input by themselves, which caused inputs like "1 millisecond" to be rejected erroneously. Update the docs, add regression tests, and backport to 8.2 and 8.1
2007-05-28Update wording:Bruce Momjian
< * Fix self-referential UPDATEs seeing inconsistent row versions in > * Fix self-referential UPDATEs that see inconsistent row versions in
2007-05-28Add:Bruce Momjian
> > * Fix self-referential UPDATEs seeing inconsistent row versions in > read-committed mode > > http://archives.postgresql.org/pgsql-hackers/2007-05/msg00507.php
2007-05-21XPath fixes:Peter Eisentraut
- Function renamed to "xpath". - Function is now strict, per discussion. - Return empty array in case when XPath expression detects nothing (previously, NULL was returned in such case), per discussion. - (bugfix) Work with fragments with prologue: select xpath('/a', '<?xml version="1.0"?><a /><b />'); // now XML datum is always wrapped with dummy <x>...</x>, XML prologue simply goes away (if any). - Some cleanup. Nikolay Samokhvalov Some code cleanup and documentation work by myself.
2007-05-21Fix spurious German index entryPeter Eisentraut
2007-05-18Mark some intermediate targets as .PRECIOUS, to replace the recently removedPeter Eisentraut
.SECONDARY target. This makes experimentation with the PDF builds easier.
2007-05-18Done:Bruce Momjian
< * Fix problem with excessive logging during SSL disconnection > * -Fix problem with excessive logging during SSL disconnection
2007-05-17dded to TODO:Bruce Momjian
> > * Support scoped IPv6 addresses > > http://archives.postgresql.org/pgsql-bugs/2007-05/msg00111.php
2007-05-17Tweaks for SGML markup.Neil Conway
2007-05-17Add URL for:Bruce Momjian
* Implement the SQL standard mechanism whereby REVOKE ROLE revokes only the privilege granted by the invoking role, and not those granted by other roles > > http://archives.postgresql.org/pgsql-bugs/2007-05/msg00010.php
2007-05-17Add, per Alvaro:Bruce Momjian
> > * Implement the SQL standard mechanism whereby REVOKE ROLE revokes only > the privilege granted by the invoking role, and not those granted > by other roles
2007-05-17Add:Bruce Momjian
> > * Fix problem with excessive logging during SSL disconnection > > http://archives.postgresql.org/pgsql-bugs/2006-12/msg00122.php > http://archives.postgresql.org/pgsql-bugs/2007-05/msg00065.php
2007-05-15Fix a bunch of bad grammar in the docs: "<link>, which see for moreNeil Conway
information" is un-good English.
2007-05-15Various fixes for the SGML docs. Consistently use spaces before/afterNeil Conway
parentheses in syntax descriptions. Consistently use the present tense when describing the basic purpose of each "DROP" command. Add a few more hyperlinks.
2007-05-15Update comments for PG_DETOAST_PACKED and VARDATA_ANY on a structuresBruce Momjian
that require alignment. Add a paragraph to the "User-Defined Types" chapter on using these macros since it seems like they're a hit. Gregory Stark