summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2009-10-02Fix erroneous handling of shared dependencies (ie dependencies on roles)Tom Lane
in CREATE OR REPLACE FUNCTION. The original code would update pg_shdepend as if a new function was being created, even if it wasn't, with two bad consequences: pg_shdepend might record the wrong owner for the function, and any dependencies for roles mentioned in the function's ACL would be lost. The fix is very easy: just don't touch pg_shdepend at all when doing a function replacement. Also update the CREATE FUNCTION reference page, which never explained exactly what changes and doesn't change in a function replacement. In passing, fix the CREATE VIEW reference page similarly; there's no code bug there, but the docs didn't say what happens.
2009-09-18A bit more wordsmithing on the COPY CSV NULL business.Tom Lane
2009-09-17CSV NULL DocumentationBruce Momjian
Update docs to clearly explain NULL value matching behavior, per Andrew. Backpatch to 8.4.X.
2009-09-17CVS NULL DocumentationBruce Momjian
Clearify documentation of CVS's output of NULL values, per suggestion from Magnus. Backpatch to 8.4.X.
2009-09-03Final updates of release notes for 8.4.1, 8.3.8, 8.2.14, 8.1.18, 8.0.22,Tom Lane
7.4.26.
2009-09-03Make LOAD of an already-loaded library into a no-op, instead of attemptingTom Lane
to unload and re-load the library. The difficulty with unloading a library is that we haven't defined safe protocols for doing so. In particular, there's no safe mechanism for getting out of a "hook" function pointer unless libraries are unloaded in reverse order of loading. And there's no mechanism at all for undefining a custom GUC variable, so GUC would be left with a pointer to an old value that might or might not still be valid, and very possibly wouldn't be in the same place anymore. While the unload and reload behavior had some usefulness in easing development of new loadable libraries, it's of no use whatever to normal users, so just disabling it isn't giving up that much. Someday we might care to expend the effort to develop safe unload protocols; but even if we did, there'd be little certainty that every third-party loadable module was following them, so some security restrictions would still be needed. Back-patch to 8.2; before that, LOAD was superuser-only anyway. Security: unprivileged users could crash backend. CVE not assigned yet
2009-08-27Modify the definition of window-function PARTITION BY and ORDER BY clausesTom Lane
so that their elements are always taken as simple expressions over the query's input columns. It originally seemed like a good idea to make them act exactly like GROUP BY and ORDER BY, right down to the SQL92-era behavior of accepting output column names or numbers. However, that was not such a great idea, for two reasons: 1. It permits circular references, as exhibited in bug #5018: the output column could be the one containing the window function itself. (We actually had a regression test case illustrating this, but nobody thought twice about how confusing that would be.) 2. It doesn't seem like a good idea for, eg, "lead(foo) OVER (ORDER BY foo)" to potentially use two completely different meanings for "foo". Accordingly, narrow down the behavior of window clauses to use only the SQL99-compliant interpretation that the expressions are simple expressions.
2009-08-27Fix broken markupAlvaro Herrera
Jan Urbański
2009-08-27Update release notes for 7.4.26, 8.0.22, 8.1.18, 8.2.14, 8.3.8, 8.4.1.Bruce Momjian
2009-08-24Try to make silent_mode behave somewhat reasonably.Tom Lane
Instead of sending stdout/stderr to /dev/null after forking away from the terminal, send them to postmaster.log within the data directory. Since this opens the door to indefinite logfile bloat, recommend even more strongly that log output be redirected when using silent_mode. Move the postmaster's initial calls of load_hba() and load_ident() down to after we have started the log collector, if we are going to. This is so that errors reported by them will appear in the "usual" place. Reclassify silent_mode as a LOGGING_WHERE, not LOGGING_WHEN, parameter, since it's got absolutely nothing to do with the latter category. In passing, fix some obsolete references to -S ... this option hasn't had that switch letter for a long time. Back-patch to 8.4, since as of 8.4 load_hba() and load_ident() are more picky (and thus more likely to fail) than they used to be. This entire change was driven by a complaint about those errors disappearing into the bit bucket.
2009-08-16Fix imprecise documentation of random(): it never returns 1.0.Tom Lane
This was changed in 8.2 but the documentation was not corrected. Per gripe from Sam Mason.
2009-08-15Remove tab in SGML.Bruce Momjian
2009-08-10Fix URL to "The Hitch-Hiker's Guide to Evolutionary Computation".Alvaro Herrera
Per Andreas Wenk, Andres Freund and Rob Wultsh. Thanks, Robert Haas, for the patch.
2009-08-10Fix number of columns declared for pg_user_mappings description table.Alvaro Herrera
2009-08-10Re-add documentation for --no-readline option of psql, mistakenly removed a ↵Andrew Dunstan
decade ago. Backpatch to release 7.4.
2009-08-07Document that autovacuum may run ANALYZEAlvaro Herrera
2009-07-24Document \dg+ and \du+Peter Eisentraut
The fact that \dg and \du take the + option was missing in the documentation. backpatched to 8.4 Author: Andreas Wenk <a.wenk@netzmeister-st-pauli.de>
2009-07-21Remove translated FAQsPeter Eisentraut
The English FAQ has been moved to the wiki, so the translated versions should have been removed at that point as well. The FAQ_MINGW.html should have been removed when the platform FAQs were integrated into the documentation (or earlier). applied to both 8.4 and 8.5
2009-07-08Add missing HOUR TO SECOND option to list of possible INTERVAL field sets,Tom Lane
as noted by Sebastien Flaesch. Also update the claim that we simply throw away fields outside this set --- that got changed later to only discard less-significant fields.
2009-07-01Remove useless References column for pg_listener catalog description. Per ↵Tom Lane
Shigehiro Honda.
2009-06-26Update release notes in final preparation for 8.4.0.Tom Lane
2009-06-26Add a note about SystemTap vs DTrace spelling of probe names.Tom Lane
2009-06-26Marginal improvement of description of recovery_end_command.Tom Lane
2009-06-25Man pages back to lowercase names, with additional fixup to make the .soPeter Eisentraut
links work.
2009-06-25Disable pg_standby -l option because the backend doesn't expect the recoveredHeikki Linnakangas
file to be a symlink. We tried to fix this issue with an earlier server-side patch, but it didn't fix the whole issue. The same bug is present in older releases as well, but the 8.4 train is about to leave the station, and I'm not sure if have consensus on whether we can remove the -l option in back-branches or do we need to attempt a server-side fix to make symlinking safe. Patch by Simon Riggs, per discussion on bug identified by Fujii Masao.
2009-06-24Fix incorrect LDAP example, noted by Tom.Magnus Hagander
2009-06-23Provide a link to the UPDATE reference page in the 'Updating Data'Tom Lane
section of the docs. Per suggestion from Brad Bowman.
2009-06-23Fix the makefiles to fail cleanly if Perl is needed but not present. ThisTom Lane
used to work as intended, but got broken some time ago (a quoted empty string is not an empty string), and got broken some more by the changes to generate ecpg's preproc.y automatically. Given all the unprotected uses of $(PERL) elsewhere, it seems best to make use of the $(missing) script rather than trying to ensure each such use is protected individually. Also fix various bits of documentation that omitted to mention Perl as a requirement for building from a CVS pull. Per a complaint from Robert Haas.
2009-06-22Add more explicit note that the parameters of MOVE are identical to FETCH.Peter Eisentraut
per David Wheeler
2009-06-20Fix things so that array_agg_finalfn does not modify or free its inputTom Lane
ArrayBuildState, per trouble report from Merlin Moncure. By adopting this fix, we are essentially deciding that aggregate final-functions should not modify their inputs ever. Adjust documentation and comments to match that conclusion.
2009-06-19Don't convert the man page names to lower case, so that the .so links work.Peter Eisentraut
This is pretty much a workaround for incomplete tools, but having the man page names in upper case looks more natural anyway.
2009-06-19Add manvolnum, so that man pages are generated.Peter Eisentraut
2009-06-18Recursive Joins -> Recursive QueriesPeter Eisentraut
per Erik Rijkers
2009-06-18Add some more documentation and cross-links on using dblink with SQL/MED.Peter Eisentraut
2009-06-18Refine the use of terminology around bound and unbound cursors and cursorPeter Eisentraut
variables. Remove the confusing term "reference cursor".
2009-06-17Proofreading for Bruce's recent round of documentation proofreading.Tom Lane
Most of those changes were good, but some not so good ...
2009-06-17Add another link of a GUC variable to where it is explained.Peter Eisentraut
2009-06-12Improve documentation about GiST opclass support functions.Tom Lane
Dimitri Fontaine
2009-06-12Add info about minimum recommended AIX fix levels, per Laurenz Albe.Tom Lane
2009-06-11Update release notes to today.Tom Lane
2009-06-11Remove our inadequate kluge that tried to get AIX's various broken versionsTom Lane
of getaddrinfo() to work. Instead, recommend updating the OS to get a working version of getaddrinfo. Per recent discussions.
2009-06-10Add warning that xpath() doesn't work with non-UTF8 data.Tom Lane
2009-06-10Add a warning about possible strange behavior of volatile functionsTom Lane
in cursors. This has always been the case, but given the lack of user complaints about it, I'm not going to bother back-patching this.
2009-06-10Correct/improve the datetime_precision field in the information schema.Peter Eisentraut
In particular, always show 0 for the date type instead of null, and show 6 (the default) for time, timestamp, and interval without a declared precision. This is now in fuller conformance with the SQL standard. Also clarify the documentation about this. discovered and analyzed by Konstantin Izmailov and Tom Lane
2009-06-08Fix contrib/pageinspect to not create an ABI breakage between 8.3 and 8.4.Tom Lane
The original implementation of the 3-argument form of get_raw_page() risked core dumps if the 8.3 SQL function definition was mistakenly used with the 8.4 module, which is entirely likely after a dump-and-reload upgrade. To protect 8.4 beta testers against upgrade problems, add a check on PG_NARGS. In passing, fix missed additions to the uninstall script, and polish the docs a trifle.
2009-06-08Be a bit more verbose about the effects of string literal processingTom Lane
changes in plpgsql. Per bug #4843.
2009-06-07Revert my patch of 2009-04-04 that removed contrib/intarray's definitions ofTom Lane
the <@ and @> operators. These are not in fact equivalent to the built-in anyarray operators of the same names, because they have different behavior for empty arrays, namely they don't think empty arrays are contained in anything. That is mathematically wrong, no doubt, but until we can persuade GIN indexes to implement the mathematical definition we should probably not change this. Another reason for not changing it now is that we can't yet ensure the opclasses will be updated correctly in a dump-and-reload upgrade. Per recent discussions.
2009-06-06Add support for using SQL/MED compliant FOREIGN DATA WRAPPER, SERVER,Joe Conway
and USER MAPPING as method to supply dblink connect parameters. Per mailing list and PGCon discussions.
2009-06-05Remove sleep() from backup script example; not needed anymore.Bruce Momjian
Fujii Masao
2009-06-04Improve the recently-added support for properly pluralized error messagesTom Lane
by extending the ereport() API to cater for pluralization directly. This is better than the original method of calling ngettext outside the elog.c code because (1) it avoids double translation, which wastes cycles and in the worst case could give a wrong result; and (2) it avoids having to use a different coding method in PL code than in the core backend. The client-side uses of ngettext are not touched since neither of these concerns is very pressing in the client environment. Per my proposal of yesterday.