summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2014-08-07Fix typo in docs.Tom Lane
s/XIDs XIDs/XIDs/ in one place in maintenance.sgml. Guillaume Lelarge
2014-08-01Fix typo in user manualHeikki Linnakangas
2014-07-29doc: Clean up some recently added PL/pgSQL documentationPeter Eisentraut
- Capitalize titles consistently. - Fix some grammar. - Group "Obtaining Information About an Error" under "Trapping Errors", but make "Obtaining the Call Stack Context Information" its own section, since it's not about errors.
2014-07-29Reword the sentence for pg_logical_slot_peek_changes function.Fujii Masao
Previously the duplicated paragraphs were used next to each other in the document to demonstrate that the changes in the stream were not consumed by pg_logical_slot_peek_changes function. But some users misunderstood that the duplication of the same paragraph was just typo. So this commit rewords the sentence in the latter paragraph for less confusing. Christoph Moench-Tegeder
2014-07-26doc: Fix up ALTER TABLESPACE reference pagePeter Eisentraut
The documentation of ALTER TABLESPACE ... MOVE was added without any markup, not even paragraph breaks. Fix that, and clarify the text in a few places.
2014-07-23Rearrange documentation paragraph describing pg_relation_size().Tom Lane
Break the list of available options into an <itemizedlist> instead of inline sentences. This is mostly motivated by wanting to ensure that the cross-references to the FSM and VM docs don't cross page boundaries in PDF format; but it seems to me to read more easily this way anyway. I took the liberty of editorializing a bit further while at it. Per complaint from Magnus about 9.0.18 docs not building in A4 format. Patch all active branches so we don't get blind-sided by this particular issue again in future.
2014-07-21Release notes for 9.3.5, 9.2.9, 9.1.14, 9.0.18, 8.4.22.Tom Lane
2014-07-19Fix xreflabel for hot_standby_feedback.Tom Lane
Rather remarkable that this has been wrong since 9.1 and nobody noticed.
2014-07-18Limit pg_upgrade authentication advice to always-secure techniques.Noah Misch
~/.pgpass is a sound choice everywhere, and "peer" authentication is safe on every platform it supports. Cease to recommend "trust" authentication, the safety of which is deeply configuration-specific. Back-patch to 9.0, where pg_upgrade was introduced.
2014-07-16doc: Spell checkingPeter Eisentraut
2014-07-15doc: Put new options in right order on reference pagesPeter Eisentraut
2014-07-14doc: small fixes for REINDEX reference pagePeter Eisentraut
From: Josh Kupershmidt <schmiddy@gmail.com>
2014-07-09Rename logical decoding's pg_llog directory to pg_logical.Andres Freund
The old name wasn't very descriptive as of actual contents of the directory, which are historical snapshots in the snapshots/ subdirectory and mappingdata for rewritten tuples in mappings/. There's been a fair amount of discussion what would be a good name. I'm settling for pg_logical because it's likely that further data around logical decoding and replication will need saving in the future. Also add the missing entry for the directory into storage.sgml's list of PGDATA contents. Bumps catversion as the data directories won't be compatible. Backpatch to 9.4, which I missed to do as Michael Paquier luckily noticed. As there already has been a catversion bump after 9.4beta1, there's no reasons for having 9.4 diverge from master.
2014-07-08Fix whitespacePeter Eisentraut
2014-07-08Update key words table for 9.4Peter Eisentraut
2014-07-08doc: Link text to table by idPeter Eisentraut
2014-07-08doc: Fix spacing in verbatim environmentsPeter Eisentraut
2014-06-29Remove use_json_as_text options from json_to_record/json_populate_record.Tom Lane
The "false" case was really quite useless since all it did was to throw an error; a definition not helped in the least by making it the default. Instead let's just have the "true" case, which emits nested objects and arrays in JSON syntax. We might later want to provide the ability to emit sub-objects in Postgres record or array syntax, but we'd be best off to drive that off a check of the target field datatype, not a separate argument. For the functions newly added in 9.4, we can just remove the flag arguments outright. We can't do that for json_populate_record[set], which already existed in 9.3, but we can ignore the argument and always behave as if it were "true". It helps that the flag arguments were optional and not documented in any useful fashion anyway.
2014-06-26Get rid of bogus separate pg_proc entries for json_extract_path operators.Tom Lane
These should not have existed to begin with, but there was apparently some misunderstanding of the purpose of the opr_sanity regression test item that checks for operator implementation functions with their own comments. The idea there is to check for unintentional violations of the rule that operator implementation functions shouldn't be documented separately .... but for these functions, that is in fact what we want, since the variadic option is useful and not accessible via the operator syntax. Get rid of the extra pg_proc entries and fix the regression test and documentation to be explicit about what we're doing here.
2014-06-26Remove obsolete example of CSV log file name from log_filename document.Fujii Masao
7380b63 changed log_filename so that epoch was not appended to it when no format specifier is given. But the example of CSV log file name with epoch still left in log_filename document. This commit removes such obsolete example. This commit also documents the defaults of log_directory and log_filename. Backpatch to all supported versions. Christoph Berg
2014-06-24Fix typo in replication slot function doc.Fujii Masao
2014-06-24Add missing closing parenthesis into max_replication_slots doc.Fujii Masao
2014-06-21doc: adjust JSONB GIN index descriptionBruce Momjian
Backpatch through 9.4
2014-06-219.4 release notes: adjust some entry wordingBruce Momjian
Backpatch to 9.4
2014-06-21Fix documentation template for CREATE TRIGGER.Kevin Grittner
By using curly braces, the template had specified that one of "NOT DEFERRABLE", "INITIALLY IMMEDIATE", or "INITIALLY DEFERRED" was required on any CREATE TRIGGER statement, which is not accurate. Change to square brackets makes that optional. Backpatch to 9.1, where the error was introduced.
2014-06-19Document SQL functions' behavior of parsing the whole function at once.Tom Lane
Haribabu Kommi, somewhat rewritten by me
2014-06-19Don't allow data_directory to be set in postgresql.auto.conf by ALTER SYSTEM.Fujii Masao
data_directory could be set both in postgresql.conf and postgresql.auto.conf so far. This could cause some problematic situations like circular definition. To avoid such situations, this commit forbids a user to set data_directory in postgresql.auto.conf. Backpatch this to 9.4 where ALTER SYSTEM command was introduced. Amit Kapila, reviewed by Abhijit Menon-Sen, with minor adjustments by me.
2014-06-18Document that jsonb has all the standard comparison operators.Andrew Dunstan
2014-06-179.4 release notes: improve valgrind mentionBruce Momjian
Report by Peter Geoghegan
2014-06-14Secure Unix-domain sockets of "make check" temporary clusters.Noah Misch
Any OS user able to access the socket can connect as the bootstrap superuser and proceed to execute arbitrary code as the OS user running the test. Protect against that by placing the socket in a temporary, mode-0700 subdirectory of /tmp. The pg_regress-based test suites and the pg_upgrade test suite were vulnerable; the $(prove_check)-based test suites were already secure. Back-patch to 8.4 (all supported versions). The hazard remains wherever the temporary cluster accepts TCP connections, notably on Windows. As a convenient side effect, this lets testing proceed smoothly in builds that override DEFAULT_PGSOCKET_DIR. Popular non-default values like /var/run/postgresql are often unwritable to the build user. Security: CVE-2014-0067
2014-06-13Adjust 9.4 release notes.Noah Misch
Back-patch to 9.4.
2014-06-12Rename lo_create(oid, bytea) to lo_from_bytea().Tom Lane
The previous naming broke the query that libpq's lo_initialize() uses to collect the OIDs of the server-side functions it requires, because that query effectively assumes that there is only one function named lo_create in the pg_catalog schema (and likewise only one lo_open, etc). While we should certainly make libpq more robust about this, the naive query will remain in use in the field for the foreseeable future, so it seems the only workable choice is to use a different name for the new function. lo_from_bytea() won a small straw poll. Back-patch into 9.4 where the new function was introduced.
2014-06-05Consistently spell a replication slot's name as slot_name.Andres Freund
Previously there's been a mix between 'slotname' and 'slot_name'. It's not nice to be unneccessarily inconsistent in a new feature. As a post beta1 initdb now is required in the wake of eeca4cd35e, fix the inconsistencies. Most the changes won't affect usage of replication slots because the majority of changes is around function parameter names. The prominent exception to that is that the recovery.conf parameter 'primary_slotname' is now named 'primary_slot_name'.
2014-06-05Add description of pg_stat directory into doc.Fujii Masao
Back-patch to 9.3 where pg_stat directory was introduced.
2014-06-03Do not escape a unicode sequence when escaping JSON text.Andrew Dunstan
Previously, any backslash in text being escaped for JSON was doubled so that the result was still valid JSON. However, this led to some perverse results in the case of Unicode sequences, These are now detected and the initial backslash is no longer escaped. All other backslashes are still escaped. No validity check is performed, all that is looked for is \uXXXX where X is a hexidecimal digit. This is a change from the 9.2 and 9.3 behaviour as noted in the Release notes. Per complaint from Teodor Sigaev.
2014-06-03Output timestamps in ISO 8601 format when rendering JSON.Andrew Dunstan
Many JSON processors require timestamp strings in ISO 8601 format in order to convert the strings. When converting a timestamp, with or without timezone, to a JSON datum we therefore now use such a format rather than the type's default text output, in functions such as to_json(). This is a change in behaviour from 9.2 and 9.3, as noted in the release notes.
2014-06-02doc: fix JSON function prototype variable labelBruce Momjian
from_jsonb -> from_json, for consistency Patch by rudolf (private report)
2014-05-31Improvements to the replication protocol documentation.Andres Freund
Document the CREATE_REPLICATION_SLOT's output_plugin parameter; that START_REPLICATION ... LOGICAL takes parameters; that START_REPLICATION ... LOGICAL uses the same messages as ... PHYSICAL; and be more consistent with the usage of <literal/>. Michael Paquier, with some additional changes by me.
2014-05-29In release notes, mention the need to initialize bgw_notify_pid.Robert Haas
Michael Paquier
2014-05-28doc: improve markup of ssl_ecdh_curve commitBruce Momjian
2014-05-27doc: improve ssl_ecdh_curve descriptionsBruce Momjian
Patch by Marko Kreen
2014-05-27Support BSD and e2fsprogs UUID libraries alongside OSSP UUID library.Tom Lane
Allow the contrib/uuid-ossp extension to be built atop any one of these three popular UUID libraries. (The extension's name is now arguably a misnomer, but we'll keep it the same so as not to cause unnecessary compatibility issues for users.) We would not normally consider a change like this post-beta1, but the issue has been forced by our upgrade to autoconf 2.69, whose more rigorous header checks are causing OSSP's header files to be rejected on some platforms. It's been foreseen for some time that we'd have to move away from depending on OSSP UUID due to lack of upstream maintenance, so this is a down payment on that problem. While at it, add some simple regression tests, in hopes of catching any major incompatibilities between the three implementations. Matteo Beccati, with some further hacking by me
2014-05-23doc: link/caps fixes for 9.4 release notesBruce Momjian
Report by Tomonari Katsumata
2014-05-21doc: add ALTER TABLE lock level item as major 9.4 itemBruce Momjian
Report by Simon Riggs
2014-05-20doc: 9.4 release notes update for pg_bench line limit itemBruce Momjian
Report by David Johnston
2014-05-19Fix typo in JSON function document.Fujii Masao
2014-05-19Fix incorrect column name in pg_stat_replication document.Fujii Masao
Fabrízio de Royes Mello
2014-05-19doc: adjust JSONB 9.4 release note itemBruce Momjian
Report by Andrew Dunstan
2014-05-19doc: 9.4 release note adjustementsBruce Momjian
Text from David G Johnston
2014-05-18doc: improve 9.4 release notesBruce Momjian
Patch by Andres Freund