summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2013-12-02doc: Refine documentation about recovery command exist statusPeter Eisentraut
Add more documentation about how different exit codes and signals are handled in each case. Reviewed-by: Peter Geoghegan <pg@heroku.com>
2013-12-02Update release notes for 9.3.2, 9.2.6, 9.1.11, 9.0.15, 8.4.19.Tom Lane
2013-12-02doc: update wording of ineffective SET and ABORT commandsBruce Momjian
Wording by Alvaro Herrera
2013-12-02Improve draft release notes.Tom Lane
Per suggestions from Andres Freund. Also fix spelling of Sergey Burladyan's name.
2013-12-01Draft release notes for 9.3.2.Tom Lane
I'm putting these up for review before I start to extract the relevant subsets for the older branches. It'll be easier to make any suggested wording improvements at this stage.
2013-12-01doc: Disable preface.autolabel in XSLTPeter Eisentraut
The makes the output more consistent with the existing DSSSL setup.
2013-11-30Editorial corrections to the October 2013 minor-release notes.Tom Lane
This is mostly to fix incorrect migration instructions: since the preceding minor releases advised reindexing some GIST indexes, it's important that we back-link to that advice rather than earlier instances. Also improve some bug descriptions and fix a few typos. No back-patch yet; these files will get copied into the back branches later in the release process.
2013-11-29doc: Simplify handling of variablelists in XSLT buildPeter Eisentraut
The previously used custom template is no longer necessary because parameters provided by the standard style sheet can achieve the same outcome.
2013-11-29doc: Enhance documentation of ssl_ciphers setting a bitPeter Eisentraut
2013-11-28doc: Allow selecting web site CSS style sheet in XSLT HTML buildPeter Eisentraut
2013-11-27doc: Set chunk.first.sections in XSLT, for consistency with DSSSL outputPeter Eisentraut
2013-11-27pg_buffercache docs: adjust order of fieldsBruce Momjian
Adjust order of fields to match view order. Jaime Casanova
2013-11-27doc: Put data types in alphabetical orderPeter Eisentraut
From: Andreas Karlsson <andreas@proxel.se>
2013-11-27Minor correction of READ COMMITTED isolation level docs.Kevin Grittner
Per report from AK
2013-11-27Documentation fix for ecpg.Michael Meskes
The latest fixes removed a limitation that was still in the docs, so Zoltan updated the docs, too.
2013-11-27Add --xlogdir option to pg_basebackup, for specifying the pg_xlog directory.Fujii Masao
Haribabu kommi, slightly modified by me.
2013-11-27Fix typo in release note.Fujii Masao
Backpatch to 9.1. Josh Kupershmidt
2013-11-26Implement information_schema.parameters.parameter_default columnPeter Eisentraut
Reviewed-by: Ali Dar <ali.munir.dar@gmail.com> Reviewed-by: Amit Khandekar <amit.khandekar@enterprisedb.com> Reviewed-by: Rodolfo Campero <rodolfo.campero@anachronics.com>
2013-11-26doc: Add id to index in XSLT buildPeter Eisentraut
That way, the HTML file name of the index will be the same as currently for the DSSSL build.
2013-11-25Change SET LOCAL/CONSTRAINTS/TRANSACTION and ABORT behaviorBruce Momjian
Change SET LOCAL/CONSTRAINTS/TRANSACTION behavior outside of a transaction block from error (post-9.3) to warning. (Was nothing in <= 9.3.) Also change ABORT outside of a transaction block from notice to warning.
2013-11-25More improvement to comment parsing in ecpg.Michael Meskes
ECPG is not supposed to allow and output nested comments in C. These comments are only allowed in the SQL parts and must not be written into the C file. Also the different handling of different comments is documented.
2013-11-23PL/Tcl: Add event trigger supportPeter Eisentraut
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
2013-11-21Support multi-argument UNNEST(), and TABLE() syntax for multiple functions.Tom Lane
This patch adds the ability to write TABLE( function1(), function2(), ...) as a single FROM-clause entry. The result is the concatenation of the first row from each function, followed by the second row from each function, etc; with NULLs inserted if any function produces fewer rows than others. This is believed to be a much more useful behavior than what Postgres currently does with multiple SRFs in a SELECT list. This syntax also provides a reasonable way to combine use of column definition lists with WITH ORDINALITY: put the column definition list inside TABLE(), where it's clear that it doesn't control the ordinality column as well. Also implement SQL-compliant multiple-argument UNNEST(), by turning UNNEST(a,b,c) into TABLE(unnest(a), unnest(b), unnest(c)). The SQL standard specifies TABLE() with only a single function, not multiple functions, and it seems to require an implicit UNNEST() which is not what this patch does. There may be something wrong with that reading of the spec, though, because if it's right then the spec's TABLE() is just a pointless alternative spelling of UNNEST(). After further review of that, we might choose to adopt a different syntax for what this patch does, but in any case this functionality seems clearly worthwhile. Andrew Gierth, reviewed by Zoltán Böszörményi and Heikki Linnakangas, and significantly revised by me
2013-11-19docs: update page format to specify page checksum fieldBruce Momjian
Backpatch to 9.3 Per report from Steffen Hildebrandt
2013-11-17Add make_date() and make_time() functions.Tom Lane
Pavel Stehule, reviewed by Jeevan Chalke and Atri Sharma
2013-11-16Allow aggregates to provide estimates of their transition state data size.Tom Lane
Formerly the planner had a hard-wired rule of thumb for guessing the amount of space consumed by an aggregate function's transition state data. This estimate is critical to deciding whether it's OK to use hash aggregation, and in many situations the built-in estimate isn't very good. This patch adds a column to pg_aggregate wherein a per-aggregate estimate can be provided, overriding the planner's default, and infrastructure for setting the column via CREATE AGGREGATE. It may be that additional smarts will be required in future, perhaps even a per-aggregate estimation function. But this is already a step forward. This is extracted from a larger patch to improve the performance of numeric and int8 aggregates. I (tgl) thought it was worth reviewing and committing this infrastructure separately. In this commit, all built-in aggregates are given aggtransspace = 0, so no behavior should change. Hadi Moshayedi, reviewed by Pavel Stehule and Tomas Vondra
2013-11-15doc: Restore proper alphabetical order.Robert Haas
Colin 't Hart
2013-11-13Clarify CREATE FUNCTION documentation about handling of typmods.Tom Lane
The previous text was a bit misleading, as well as unnecessarily vague about what information would be discarded. Per gripe from Craig Skinner.
2013-11-13docs: clarify MVCC introduction to allow for per-statement snapshotsBruce Momjian
2013-11-12doc: Fix typo.Robert Haas
Reported by Thom Brown.
2013-11-10Fix whitespace issues found by git diff --check, add gitattributesPeter Eisentraut
Set per file type attributes in .gitattributes to fine-tune whitespace checks. With the associated cleanups, the tree is now clean for git
2013-11-08doc: Clarify under what circumstances pg_dump needs superuser access.Robert Haas
Inspired by, but different from, a patch from Ivan Lezhnjov IV
2013-11-08Add the notion of REPLICA IDENTITY for a table.Robert Haas
Pending patches for logical replication will use this to determine which columns of a tuple ought to be considered as its candidate key. Andres Freund, with minor, mostly cosmetic adjustments by me
2013-11-06Support default arguments and named-argument notation for window functions.Tom Lane
These things didn't work because the planner omitted to do the necessary preprocessing of a WindowFunc's argument list. Add the few dozen lines of code needed to handle that. Although this sounds like a feature addition, it's really a bug fix because the default-argument case was likely to crash previously, due to lack of checking of the number of supplied arguments in the built-in window functions. It's not a security issue because there's no way for a non-superuser to create a window function definition with defaults that refers to a built-in C function, but nonetheless people might be annoyed that it crashes rather than producing a useful error message. So back-patch as far as the patch applies easily, which turns out to be 9.2. I'll put a band-aid in earlier versions as a separate patch. (Note that these features still don't work for aggregates, and fixing that case will be harder since we represent aggregate arg lists as target lists not bare expression lists. There's no crash risk though because CREATE AGGREGATE doesn't accept defaults, and we reject named-argument notation when parsing an aggregate call.)
2013-11-05Improve the error message given for modifying a window with frame clause.Tom Lane
For rather inscrutable reasons, SQL:2008 disallows copying-and-modifying a window definition that has any explicit framing clause. The error message we gave for this only made sense if the referencing window definition itself contains an explicit framing clause, which it might well not. Moreover, in the context of an OVER clause it's not exactly obvious that "OVER (windowname)" implies copy-and-modify while "OVER windowname" does not. This has led to multiple complaints, eg bug #5199 from Iliya Krapchatov. Change to a hopefully more intelligible error message, and in the case where we have just "OVER (windowname)", add a HINT suggesting that omitting the parentheses will fix it. Also improve the related documentation. Back-patch to all supported branches.
2013-11-01Remove CTimeZone/HasCTZSet, root and branch.Tom Lane
These variables no longer have any useful purpose, since there's no reason to special-case brute force timezones now that we have a valid session_timezone setting for them. Remove the variables, and remove the SET/SHOW TIME ZONE code that deals with them. The user-visible impact of this is that SHOW TIME ZONE will now show a POSIX-style zone specification, in the form "<+-offset>-+offset", rather than an interval value when a brute-force zone has been set. While perhaps less intuitive, this is a better definition than before because it's actually possible to give that string back to SET TIME ZONE and get the same behavior, unlike what used to happen. We did not previously mention the angle-bracket syntax when describing POSIX timezone specifications; add some documentation so that people can figure out what these strings do. (There's still quite a lot of undocumented functionality there, but anybody who really cares can go read the POSIX spec to find out about it. In practice most people seem to prefer Olsen-style city names anyway.)
2013-10-28Improve documentation about usage of FDW validator functions.Tom Lane
SGML documentation, as well as code comments, failed to note that an FDW's validator will be applied to foreign-table options for foreign tables using the FDW. Etsuro Fujita
2013-10-28Suppress duplicate-index-entry warning introduced by previous commit.Tom Lane
We don't need two index entries for lo_create pointing at the same section. It's a bit pedantic for the toolchain to warn about this, but warn it does.
2013-10-27Add large object functions catering to SQL callers.Noah Misch
With these, one need no longer manipulate large object descriptors and extract numeric constants from header files in order to read and write large object contents from SQL. Pavel Stehule, reviewed by Rushabh Lathia.
2013-10-24Improve documentation of random() function.Heikki Linnakangas
Move random() and setseed() to a separate table, to have them grouped together. Also add a notice that random() is not cryptographically secure. Original patch by Honza Horak, although I didn't use his version.
2013-10-21doc: Improve setup for documentation building with FOPPeter Eisentraut
Add a makefile rule for building PDFs with FOP. Two new build targets in doc/src/sgml are postgres-A4-fop.pdf and postgres-US-fop.pdf. Run .fo output through xmllint for reformatting, so that errors are easier to find. (The default output has hardly any line breaks, so you might be looking for an error in column 20000.) Set some XSLT parameters to optimize for building with FOP. Remove some redundant or somewhat useless chapterinfo/author information, because it renders strangely with the FO stylesheet. Reviewed-by: Álvaro Herrera <alvherre@2ndquadrant.com>
2013-10-18Allow only some columns of a view to be auto-updateable.Robert Haas
Previously, unless all columns were auto-updateable, we wouldn't inserts, updates, or deletes, or at least not without a rule or trigger; now, we'll allow inserts and updates that target only the auto-updateable columns, and deletes even if there are no auto-updateable columns at all provided the view definition is otherwise suitable. Dean Rasheed, reviewed by Marko Tiikkaja
2013-10-18Provide a reliable mechanism for terminating a background worker.Robert Haas
Although previously-introduced APIs allow the process that registers a background worker to obtain the worker's PID, there's no way to prevent a worker that is not currently running from being restarted. This patch introduces a new API TerminateBackgroundWorker() that prevents the background worker from being restarted, terminates it if it is currently running, and causes it to be unregistered if or when it is not running. Patch by me. Review by Michael Paquier and KaiGai Kohei.
2013-10-18Remove IRIX port.Robert Haas
Development of IRIX has been discontinued, and support is scheduled to end in December of 2013. Therefore, there will be no supported versions of this operating system by the time PostgreSQL 9.4 is released. Furthermore, we have no maintainer for this platform.
2013-10-17doc: Configure TOC generation in XSLT HTML buildPeter Eisentraut
The default table of contents in the XSLT HTML build is much too big and deep. Configure it to look more like the one that is currently being produced by the DSSSL build.
2013-10-17Remove spinlock support for SINIX, Sun3, and NS32K.Robert Haas
All of these platforms are very much obsolete. As far as I can determine, the last version of SINIX, later renamed Reliant, occurred some time between 2002 and 2005. The last release of SunOS that would run on a sun3 was released in November of 1991; the last release of OpenBSD which supported that platform was in 2001. The highest clock speed of any processor in the family was 25MHz. The NS32K (national semiconductor 320xx) architecture was retired in 1990. Support can be re-added if a maintainer emerges for any of these platforms, but it seems unlikely. Reviewed by Andres Freund.
2013-10-15doc: Enable book index in XSLT buildsPeter Eisentraut
The XSLT toolchain requires an empty <index> element where the index is supposed to appear. Add that with conditionals to hide it from the DSSSL build.
2013-10-15docs: correct 9.1 and 9.2 release note mention of timeline switch fixBruce Momjian
Backpatch through 9.1. KONDO Mitsumasa
2013-10-14Fix details missed by dynamic shared memory patch.Robert Haas
Additional documentation update, and a comment fix. Both issues reported by Amit Kapila.
2013-10-10doc: Move check-tabs target into html targetPeter Eisentraut
The previous plan of having the check-tabs target a prerequisite of "all" and "distprep" caused make distcheck to fail because make -q distprep would never be satisfied. Put check-tabs into the html target instead, so it is only called when a build actually happens.