summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2013-10-10doc: Fix table column number declarationPeter Eisentraut
2013-10-10doc: Handle additional character entities for SGML/XML conversionPeter Eisentraut
2013-10-10Remove maintainer-check target, fold into normal buildPeter Eisentraut
make maintainer-check was obscure and rarely called in practice, and many breakages were missed. Fold everything that make maintainer-check used to do into the normal build. Specifically: - Call duplicate_oids when genbki.pl is called. - Check for tabs in SGML files when the documentation is built. - Run msgfmt with the -c option during the regular build. Add an additional configure check to see whether we are using the GNU version. (make maintainer-check probably used to fail with non-GNU msgfmt.) Keep maintainer-check as around as phony target for the time being in case anyone is calling it. But it won't do anything anymore.
2013-10-10json_typeof function.Andrew Dunstan
Andrew Tipton.
2013-10-09Revive line typePeter Eisentraut
Change the input/output format to {A,B,C}, to match the internal representation. Complete the implementations of line_in, line_out, line_recv, line_send. Remove comments and error messages about the line type not being implemented. Add regression tests for existing line operators and functions. Reviewed-by: rui hua <365507506hua@gmail.com> Reviewed-by: Álvaro Herrera <alvherre@2ndquadrant.com> Reviewed-by: Jeevan Chalke <jeevan.chalke@enterprisedb.com>
2013-10-09Allow dynamic allocation of shared memory segments.Robert Haas
Patch by myself and Amit Kapila. Design help from Noah Misch. Review by Andres Freund.
2013-10-09Add record_image_ops opclass for matview concurrent refresh.Kevin Grittner
REFRESH MATERIALIZED VIEW CONCURRENTLY was broken for any matview containing a column of a type without a default btree operator class. It also did not produce results consistent with a non- concurrent REFRESH or a normal view if any column was of a type which allowed user-visible differences between values which compared as equal according to the type's default btree opclass. Concurrent matview refresh was modified to use the new operators to solve these problems. Documentation was added for record comparison, both for the default btree operator class for record, and the newly added operators. Regression tests now check for proper behavior both for a matview with a box column and a matview containing a citext column. Reviewed by Steve Singer, who suggested some of the doc language.
2013-10-09doc: fix typo in release notesBruce Momjian
Backpatch through 8.4 Per suggestion by Amit Langote
2013-10-08doc: Fix typo in effective_cache_size patchBruce Momjian
2013-10-08docs: clarify references to md5 hash and md5 crypt in pgcrypto docsBruce Momjian
Suggestion from Richard Neill
2013-10-08Auto-tune effective_cache size to be 4x shared buffersBruce Momjian
2013-10-07docs: update release notes for 8.4.18, 9.0.14, 9.1.10, 9.2.5, 9.3.1Bruce Momjian
2013-10-07plpgsql: Add new option print_strict_params.Robert Haas
This option provides more detailed error messages when STRICT is used and the number of rows returned is not one. Marko Tiikkaja, reviewed by Ian Lawrence Barwick
2013-10-06Document support for VPATH builds of extensions.Andrew Dunstan
Cédric Villemain and me.
2013-10-05pgbench: Elaborate latency reporting.Noah Misch
Isolate transaction latency (elapsed time between submitting first command and receiving response to last command) from client-side delays pertaining to the --rate schedule. Under --rate, report schedule lag as defined in the documentation. Report latency standard deviation whenever we collect the measurements to do so. All of these changes affect --progress messages and the final report. Fabien COELHO, reviewed by Pavel Stehule.
2013-10-05pg_upgrade doc: link mode additionsBruce Momjian
Mention that link mode uses less disk space, and uses junction points on Windows. Backpatch to 9.3.
2013-10-04Issue error on SET outside transaction block in some casesBruce Momjian
Issue error for SET LOCAL/CONSTRAINTS/TRANSACTION outside a transaction block, as they have no effect. Per suggestion from Morten Hustveit
2013-10-04doc: Add missing words to bgworker docs.Robert Haas
Maciek Sakrejda
2013-10-03Add DISCARD SEQUENCES command.Robert Haas
DISCARD ALL will now discard cached sequence information, as well. Fabrízio de Royes Mello, reviewed by Zoltán Böszörményi, with some further tweaks by me.
2013-10-03psql: Make \pset without arguments show all settings.Robert Haas
Gilles Darold, reviewed by Pavel Stehule
2013-10-02doc: Correct psycopg URLPeter Eisentraut
2013-10-02doc: fix hstore_to_json_loose() doc wordingBruce Momjian
2013-10-02Fix copy/paste errorMagnus Hagander
2013-09-26Allow printf-style padding specifications in log_line_prefix.Robert Haas
David Rowley, after a suggestion from Heikki Linnakangas. Reviewed by Albe Laurenz, and further edited by me.
2013-09-26Fix erroneous statements about multiply specified JSON columns.Andrew Dunstan
The behaviour in json_populate_record() and json_populate_recordset() was changed during development but the docs were not.
2013-09-23pgbench: Tweak documentation.Noah Misch
Fabien COELHO
2013-09-23doc: Clarify that file_fdw options require values.Robert Haas
Mike Blackwell and Robert Haas
2013-09-23Don't allow system columns in CHECK constraints, except tableoid.Robert Haas
Previously, arbitray system columns could be mentioned in table constraints, but they were not correctly checked at runtime, because the values weren't actually set correctly in the tuple. Since it seems easy enough to initialize the table OID properly, do that, and continue allowing that column, but disallow the rest unless and until someone figures out a way to make them work properly. No back-patch, because this doesn't seem important enough to take the risk of destabilizing the back branches. In fact, this will pose a dump-and-reload hazard for those upgrading from previous versions: constraints that were accepted before but were not correctly enforced will now either be enforced correctly or not accepted at all. Either could result in restore failures, but in practice I think very few users will notice the difference, since the use case is pretty marginal anyway and few users will be relying on features that have not historically worked. Amit Kapila, reviewed by Rushabh Lathia, with doc changes by me.
2013-09-18Documentation correction.Robert Haas
Etsuro Fujita
2013-09-16Add a GUC to report whether data page checksums are enabled.Heikki Linnakangas
Bernd Helmle
2013-09-15Fix typosPeter Eisentraut
2013-09-10docs: Update libpq and testlo examplesBruce Momjian
Josh Kupershmidt
2013-09-09Show schemas in information_schema.schemata that the current has access toPeter Eisentraut
Before, it would only show schemas that the current user owns. Per discussion, the new behavior is more useful and consistent for PostgreSQL.
2013-09-05Eliminate pg_rewrite.ev_attr column and related dead code.Kevin Grittner
Commit 95ef6a344821655ce4d0a74999ac49dd6af6d342 removed the ability to create rules on an individual column as of 7.3, but left some residual code which has since been useless. This cleans up that dead code without any change in behavior other than dropping the useless column from the catalog.
2013-09-04Improve Range Types and Exclusion Constraints example.Jeff Davis
Make the examples self-contained to avoid confusion. Per bug report 8367 from KOIZUMI Satoru.
2013-09-03Don't fail for bad GUCs in CREATE FUNCTION with check_function_bodies off.Tom Lane
The previous coding attempted to activate all the GUC settings specified in SET clauses, so that the function validator could operate in the GUC environment expected by the function body. However, this is problematic when restoring a dump, since the SET clauses might refer to database objects that don't exist yet. We already have the parameter check_function_bodies that's meant to prevent forward references in function definitions from breaking dumps, so let's change CREATE FUNCTION to not install the SET values if check_function_bodies is off. Authors of function validators were already advised not to make any "context sensitive" checks when check_function_bodies is off, if indeed they're checking anything at all in that mode. But extend the documentation to point out the GUC issue in particular. (Note that we still check the SET clauses to some extent; the behavior with !check_function_bodies is now approximately equivalent to what ALTER DATABASE/ROLE have been doing for awhile with context-dependent GUCs.) This problem can be demonstrated in all active branches, so back-patch all the way.
2013-09-03Allow aggregate functions to be VARIADIC.Tom Lane
There's no inherent reason why an aggregate function can't be variadic (even VARIADIC ANY) if its transition function can handle the case. Indeed, this patch to add the feature touches none of the planner or executor, and little of the parser; the main missing stuff was DDL and pg_dump support. It is true that variadic aggregates can create the same sort of ambiguity about parameters versus ORDER BY keys that was complained of when we (briefly) had both one- and two-argument forms of string_agg(). However, the policy formed in response to that discussion only said that we'd not create any built-in aggregates with varying numbers of arguments, not that we shouldn't allow users to do it. So the logical extension of that is we can allow users to make variadic aggregates as long as we're wary about shipping any such in core. In passing, this patch allows aggregate function arguments to be named, to the extent of remembering the names in pg_proc and dumping them in pg_dump. You can't yet call an aggregate using named-parameter notation. That seems like a likely future extension, but it'll take some work, and it's not what this patch is really about. Likewise, there's still some work needed to make window functions handle VARIADIC fully, but I left that for another day. initdb forced because of new aggvariadic field in Aggref parse nodes.
2013-09-03Docs: wording improvements in discussion of timestamp arithmetic.Tom Lane
I started out just to fix the broken markup in commit 1c2085766187031eaeaae7db4785b9e1d4241988, but got distracted by copy-editing. I see Bruce already fixed the markup, but I'll commit the wordsmithing anyway.
2013-09-03doc: Fix SGML markup for date patchBruce Momjian
2013-09-03Docs: add paragraph about date/timestamp subtractionBruce Momjian
per suggestion from Francisco Olart
2013-09-03docs: Clarify that we also support Solaris versions greater than 10.Robert Haas
MauMau
2013-09-02Fix relfrozenxid query in docs to include TOAST tables.Andrew Dunstan
The original query ignored TOAST tables which could result in tables needing a vacuum not being reported. Backpatch to all live branches.
2013-09-01Update "Using EXPLAIN" documentation examples using current code.Tom Lane
It seems like a good idea to update these examples since some fairly basic planner behaviors have changed in 9.3; notably that the startup cost for an indexscan plan node is no longer invariably estimated at 0.00.
2013-08-31Update 9.3 release notes.Tom Lane
Some corrections, a lot of copy-editing. Set projected release date as 2013-09-09.
2013-08-28Allow discovery of whether a dynamic background worker is running.Robert Haas
Using the infrastructure provided by this patch, it's possible either to wait for the startup of a dynamically-registered background worker, or to poll the status of such a worker without waiting. In either case, the current PID of the worker process can also be obtained. As usual, worker_spi is updated to demonstrate the new functionality. Patch by me. Review by Andres Freund.
2013-08-28Accept multiple -I, -P, -T and -n options in pg_restore.Heikki Linnakangas
We already did this for -t (--table) in 9.3, but missed the other similar options. For consistency, allow all of them to be specified multiple times. Unfortunately it's too late to sneak this into 9.3, so commit to master only.
2013-08-26doc: Explain that ereport doesn't return for ERROR or higher levels.Robert Haas
Christophe Pettus
2013-08-21docs: Remove second 'trim' index referenceBruce Momjian
Per suggestion from Vik Fearing
2013-08-20release notes: update link to 9.3 PL/pgSQL constraint error infoBruce Momjian
Backpatch to 9.3. Pavel Stehule
2013-08-19release notes: remove username from 9.3 major itemBruce Momjian
Etsuro Fujita