summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2012-07-04Run newly-configured perltidy script on Perl files.Bruce Momjian
Run on HEAD and 9.2.
2012-07-04Reduce messages about implicit indexes and sequences to DEBUG1.Robert Haas
Per recent discussion on pgsql-hackers, these messages are too chatty for most users.
2012-07-04Fix sample INSTR function to return 0 if third arg is 0.Robert Haas
Albe Laurenz, per a report by Greg Smith that our sample function doesn't quite match Oracle's behavior.
2012-07-04More doc cleanups for recent shared memory changes.Robert Haas
Josh Kupershmidt
2012-07-04Documentation cleanups for recent shared memory changes.Robert Haas
2012-07-04Remove reference to default wal_buffers being 8Magnus Hagander
This hasn't been true since 9.1, when the default was changed to -1. Remove the reference completely, keeping the discussion of the parameter and it's shared memory effects on the config page.
2012-07-04Remove references to pgfoundry as recommended hosting platformMagnus Hagander
pgfoundry is deprectaed and no longer accepting new projects, so we really shouldn't be directing people there.
2012-07-04Remove references to PostgreSQL bundled on SolarisMagnus Hagander
Also remove special references to downloads off pgfoundry since they are not correct - downloads are done through the main website.
2012-07-02Make commit_delay much smarter.Robert Haas
Instead of letting every backend participating in a group commit wait independently, have the first one that becomes ready to flush WAL wait for the configured delay, and let all the others wait just long enough for that first process to complete its flush. This greatly increases the chances of being able to configure a commit_delay setting that actually improves performance. As a side consequence of this change, commit_delay now affects all WAL flushes, rather than just commits. There was some discussion on pgsql-hackers about whether to rename the GUC to, say, wal_flush_delay, but in the absence of consensus I am leaving it alone for now. Peter Geoghegan, with some changes, mostly to the documentation, by me.
2012-06-27Update release notes for pg_terminate_backend changes.Robert Haas
2012-06-26Allow pg_terminate_backend() to be used on backends with matching role.Robert Haas
A similar change was made previously for pg_cancel_backend, so now it all matches again. Dan Farina, reviewed by Fujii Masao, Noah Misch, and Jeff Davis, with slight kibitzing on the doc changes by me.
2012-06-26Fix pg_upgrade, broken by the xlogid/segno -> 64-bit int refactoring.Heikki Linnakangas
The xlogid + segno representation of a particular WAL segment doesn't make much sense in pg_resetxlog anymore, now that we don't use that anywhere else. Use the WAL filename instead, since that's a convenient way to name a particular WAL segment. I did this partially for pg_resetxlog in the original xlogid/segno -> uint64 patch, but I neglected pg_upgrade and the docs. This should now be more complete.
2012-06-25Replace int2/int4 in C code with int16/int32Peter Eisentraut
The latter was already the dominant use, and it's preferable because in C the convention is that intXX means XX bits. Therefore, allowing mixed use of int2, int4, int8, int16, int32 is obviously confusing. Remove the typedefs for int2 and int4 for now. They don't seem to be widely used outside of the PostgreSQL source tree, and the few uses can probably be cleaned up by the time this ships.
2012-06-22Document that && can be used to search arrays.Robert Haas
Also, add some cross-links to the indexing documentation, so it's easier to notice that && and other array operators have index support. Ryan Kelly, edited by me.
2012-06-22Make placeholders in SQL command help more consistent and precisePeter Eisentraut
To avoid divergent names on related pages, avoid ambiguities, and reduce translation work a little.
2012-06-19Add pgbench option to add foreign key constraints to the standard scenario.Tom Lane
The option --foreign-keys, used at initialization time, will create foreign key constraints for the columns that represent references to other tables' primary keys. This can help in benchmarking FK performance. Jeff Janes
2012-06-20Remove confusing half sentence from legal noticePeter Eisentraut
pointed out by Stefan Kaltenbrunner
2012-06-18Change ON UPDATE SET NULL/SET DEFAULT referential actions to meet SQL spec.Tom Lane
Previously, when executing an ON UPDATE SET NULL or SET DEFAULT action for a multicolumn MATCH SIMPLE foreign key constraint, we would set only those referencing columns corresponding to referenced columns that were changed. This is what the SQL92 standard said to do --- but more recent versions of the standard say that all referencing columns should be set to null or their default values, no matter exactly which referenced columns changed. At least for SET DEFAULT, that is clearly saner behavior. It's somewhat debatable whether it's an improvement for SET NULL, but it appears that other RDBMS systems read the spec this way. So let's do it like that. This is a release-notable behavioral change, although considering that our documentation already implied it was done this way, the lack of complaints suggests few people use such cases.
2012-06-17Refer to the default foreign key match style as MATCH SIMPLE internally.Tom Lane
Previously we followed the SQL92 wording, "MATCH <unspecified>", but since SQL99 there's been a less awkward way to refer to the default style. In addition to the code changes, pg_constraint.confmatchtype now stores this match style as 's' (SIMPLE) rather than 'u' (UNSPECIFIED). This doesn't affect pg_dump or psql because they use pg_get_constraintdef() to reconstruct foreign key definitions. But other client-side code might examine that column directly, so this change will have to be marked as an incompatibility in the 9.3 release notes.
2012-06-18Make documentation of --help and --version options more consistentPeter Eisentraut
Before, some places didn't document the short options (-? and -V), some documented both, some documented nothing, and they were listed in various orders. Now this is hopefully more consistent and complete.
2012-06-17Reorder basebackup options, to list pg_basebackup firstMagnus Hagander
Since this is the easy way of doing it, it should be listed first. All the old information is retained for those who want the more advanced way. Also adds a subheading for compressing logs, that seems to have been missing
2012-06-14Doc corrections for pg_is_in_backup patch.Robert Haas
Fujii Masao
2012-06-14New SQL functons pg_backup_in_progress() and pg_backup_start_time()Robert Haas
Darold Gilles, reviewed by Gabriele Bartolini and others, rebased by Marco Nenciarini. Stylistic cleanup and OID fixes by me.
2012-06-13Remove release note entry for reverted patch.Tom Lane
2012-06-13Fix description of SQL-standard meaning of CREATE LOCAL TEMP TABLE.Tom Lane
I had this slightly wrong, as noted by Noah Misch.
2012-06-13Deprecate use of GLOBAL and LOCAL in temp table creation.Tom Lane
Aside from adjusting the documentation to say that these are deprecated, we now report a warning (not an error) for use of GLOBAL, since it seems fairly likely that we might change that to request SQL-spec-compliant temp table behavior in the foreseeable future. Although our handling of LOCAL is equally nonstandard, there is no evident interest in ever implementing SQL modules, and furthermore some other products interpret LOCAL as behaving the same way we do. So no expectation of change and no warning for LOCAL; but it still seems a good idea to deprecate writing it. Noah Misch
2012-06-13Support Linux's oom_score_adj API as well as the older oom_adj API.Tom Lane
The simplest way to handle this is just to copy-and-paste the relevant code block in fork_process.c, so that's what I did. (It's possible that something more complicated would be useful to packagers who want to work with either the old or the new API; but at this point the number of such people is rapidly approaching zero, so let's just get the minimal thing done.) Update relevant documentation as well.
2012-06-13Improve documentation of postgres -C optionPeter Eisentraut
Clarify help (s/return/print/), and explain that this option is for use by other programs, not for user-facing use (it does not print units).
2012-06-12Copy-editing of release notes.Robert Haas
Remove a couple of items that were actually back-patched bug fixes. Add additional details to a couple of items which lacked a description. Improve attributions for a couple of items I was involved with. A few other miscellaneous corrections.
2012-06-12pg_receivexlog: Rename option --dir to --directoryPeter Eisentraut
getopt_long() allows abbreviating long options, so we might as well give the option the full name, and users can abbreviate it how they like. Do some general polishing of the --help output at the same time.
2012-06-11Revert behaviour of -x/--xlog to 9.1 semanticsMagnus Hagander
To replace it, add -X/--xlog-method that allows the specification of fetch or stream. Do this to avoid unnecessary backwards-incompatiblity. Spotted and suggested by Peter Eisentraut.
2012-06-10Fix pg_basebackup/pg_receivexlog for floating point timestampsMagnus Hagander
Since the replication protocol deals with TimestampTz, we need to care for the floating point case as well in the frontend tools. Fujii Masao, with changes from Magnus Hagander
2012-06-08Documentation style improvementsPeter Eisentraut
2012-06-08Documentation spell and markup checkingPeter Eisentraut
2012-06-05Fix typoMagnus Hagander
Noted by Erik Rijkers
2012-06-05Add example of archive_command to use with pg_receivexlogMagnus Hagander
2012-06-01Improve description of pg_stat_statements normalisation in release notes.Simon Riggs
2012-06-01Clarify description of covering indexes in release notesSimon Riggs
2012-06-01Copy editing of release notes for couple of my items.Simon Riggs
2012-05-31Update release notes for 9.1.4, 9.0.8, 8.4.12, 8.3.19.Tom Lane
2012-05-29Rewrite --section option to decouple it from --schema-only/--data-only.Tom Lane
The initial implementation of pg_dump's --section option supposed that the existing --schema-only and --data-only options could be made equivalent to --section settings. This is wrong, though, due to dubious but long since set-in-stone decisions about where to dump SEQUENCE SET items, as seen in bug report from Martin Pitt. (And I'm not totally convinced there weren't other bugs, either.) Undo that coupling and instead drive --section filtering off current-section state tracked as we scan through the TOC list to call _tocEntryRequired(). To make sure those decisions don't shift around and hopefully save a few cycles, run _tocEntryRequired() only once per TOC entry and save the result in a new TOC field. This required minor rejiggering of ACL handling but also allows a far cleaner implementation of inhibit_data_for_failed_table. Also, to ensure that pg_dump and pg_restore have the same behavior with respect to the --section switches, add _tocEntryRequired() filtering to WriteToc() and WriteDataChunks(), rather than trying to implement section filtering in an entirely orthogonal way in dumpDumpableObject(). This required adjusting the handling of the special ENCODING and STDSTRINGS items, but they were pretty weird before anyway. Minor other code review for the patch, too.
2012-05-28libpq: URI parsing fixesPeter Eisentraut
Drop special handling of host component with slashes to mean Unix-domain socket. Specify it as separate parameter or using percent-encoding now. Allow omitting username, password, and port even if the corresponding designators are present in URI. Handle percent-encoding in query parameter keywords. Alex Shulgin some documentation improvements by myself
2012-05-27Make pg_recievexlog by default loop on connection failuresMagnus Hagander
Avoids the need for an external script in the most common scenario. Behavior can be overridden using the -n/--noloop commandline parameter.
2012-05-24Clarify 9.2 release notes items about pg_stat_statements, to betterBruce Momjian
document fix of double counting and read/write count addition, per Peter Geoghegan
2012-05-24Change pg_stat_statements order of release note items, per PeterBruce Momjian
Geoghegan
2012-05-24Remove PL/Perl null array 9.2 release note item, per Andrew DunstanBruce Momjian
2012-05-24Update SQL key word list to SQL:2011Peter Eisentraut
For space reasons, drop SQL:1999 and SQL:2003. Only keep the latest two and SQL-92 for historical comparison.
2012-05-23Mention Peter Geoghegan as primary author of pg_stat_statements changes.Bruce Momjian
2012-05-23Improve wording of 9.2 clog release note item.Bruce Momjian
2012-05-22Add 9.2 release note authorship mentions for Heikki and AlexanderBruce Momjian
Korotkov, per Alexander Korotkov.