summaryrefslogtreecommitdiff
path: root/doc/src/sgml
AgeCommit message (Collapse)Author
2006-01-31Removed single quotes from connect to example.Michael Meskes
2006-01-26Clean up the INET-vs-CIDR situation. Get rid of the internal is_cidr flagTom Lane
and rely exclusively on the SQL type system to tell the difference between the types. Prevent creation of invalid CIDR values via casting from INET or set_masklen() --- both of these operations now silently zero any bits to the right of the netmask. Remove duplicate CIDR comparison operators, letting the type rely on the INET operators instead.
2006-01-23Improve wording of descriptions of SIGHUP GUC parameters, as per myTom Lane
suggestion a couple days ago. Fix some cases in which the documentation neglected to mention any restriction on when a parameter can be set. Try to be consistent about calling parameters parameters; use the term option only for command-line switches.
2006-01-22Improve note about not using the target table name in the SET clause.Tom Lane
It's not related to whether an alias is used or not.
2006-01-22Allow an optional alias for the target table to be specified for UPDATENeil Conway
and DELETE. If specified, the alias must be used instead of the full table name. Also, the alias currently cannot be used in the SET clause of UPDATE. Patch from Atsushi Ogawa, various editorialization by Neil Conway. Along the way, make the rowtypes regression test pass if add_missing_from is enabled, and add a new (skeletal) regression test for DELETE.
2006-01-22Minor improvements to GEQO documentation.Neil Conway
2006-01-21Marginal improvements in the wording of the autovacuum documentation:Tom Lane
be consistent about whether it's called a daemon or a subprocess, and don't describe the autovacuum setting in exactly the same way as the stats_start_collector setting, because that leaves people thinking (if they aren't paying close attention) that autovacuum can't be changed on the fly.
2006-01-21Fix broken markup.Tom Lane
2006-01-21Add GRANT ON SEQUENCE syntax to support sequence-only permissions.Bruce Momjian
Continue to support GRANT ON [TABLE] for sequences for backward compatibility; issue warning for invalid sequence permissions. [Backward compatibility warning message.] Add USAGE permission for sequences that allows only currval() and nextval(), not setval(). Mention object name in grant/revoke warnings because of possible multi-object operations.
2006-01-20Update EXPLAIN wording for GEQO usage.Bruce Momjian
2006-01-19Doc patch that adds an example of a correllated UPDATE.Bruce Momjian
David Fetter
2006-01-19Clarify STABLE function documentation to highlight how such functionsBruce Momjian
can be optimized.
2006-01-18Clarify use of btree indexes for ILIKE and ~*.Bruce Momjian
2006-01-18You'll find attached a patch for a fixed explanation on parameter_modeBruce Momjian
column, OUT and INOUT added. Guillaume LELARGE
2006-01-18Add a new system view, pg_cursors, that displays the currently availableNeil Conway
cursors. Patch from Joachim Wieland, review and ediorialization by Neil Conway. The view lists cursors defined by DECLARE CURSOR, using SPI, or via the Bind message of the frontend/backend protocol. This means the view does not list the unnamed portal or the portal created to implement EXECUTE. Because we do list SPI portals, there might be more rows in this view than you might expect if you are using SPI implicitly (e.g. via a procedural language). Per recent discussion on -hackers, the query string included in the view for cursors defined by DECLARE CURSOR is based on debug_query_string. That means it is not accurate if multiple queries separated by semicolons are submitted as one query string. However, there doesn't seem a trivial fix for that: debug_query_string is better than nothing. I also changed SPI_cursor_open() to include the source text for the portal it creates: AFAICS there is no reason not to do this. Update the documentation and regression tests, bump the catversion.
2006-01-16Improve constraint_name wording.Bruce Momjian
2006-01-16Add markup for new constraint_name mention.Bruce Momjian
2006-01-16Add documentaiotn mention that constraint names can be sentences thatBruce Momjian
can convey information to clients on constraint violation.
2006-01-16Change the parameter_types column of the pg_prepared_statements to beNeil Conway
an array of regtype, rather than an array of OIDs. This is likely to be more useful to user, and the type OID can easily be obtained by casting a regtype value to OID. Per suggestion from Tom. Update the documentation and regression tests, and bump the catversion.
2006-01-15Allow the types of parameters to PREPARE to be inferred. If a parameter'sNeil Conway
data type is unspecified or is declared to be "unknown", the type will be inferred from the context in which the parameter is used. This was already possible for protocol-level prepared statements.
2006-01-13Document that CREATE OPERATOR CLASS amounts to granting public executeTom Lane
permissions on the functions and operators contained in the opclass. Since we already require superuser privilege to create an operator class, there's no expansion-of-privilege hazard here, but if someone were to get the idea of building an opclass containing functions that need security restrictions, we'd better warn them off. Also, change the permission checks from have-execute-privilege to have-ownership, and then comment them all out since they're dead code anyway under the superuser restriction.
2006-01-13Require the issuer of CREATE TYPE to own the functions mentioned in theTom Lane
type definition. Because use of a type's I/O conversion functions isn't access-checked, CREATE TYPE amounts to granting public execute permissions on the functions, and so allowing it to anybody means that someone could theoretically gain access to a function he's not supposed to be able to execute. The parameter-type restrictions already enforced by CREATE TYPE make it fairly unlikely that this oversight is meaningful in practice, but still it seems like a good idea to plug the hole going forward. Also, document the implicit grant just in case anybody gets the idea of building I/O functions that might need security restrictions.
2006-01-12Remove extraneous backslash from 'fixseq.sql' example --- mea culpaTom Lane
certainly. Per report from George Woodring.
2006-01-11Update comment about outer joins in description of geqo_threshold.Tom Lane
2006-01-11Documentation tweak: add spaces around the brackets in the descriptionNeil Conway
of the CREATE CONVERSION syntax, for consistency with the other SQL reference pages.
2006-01-11Create a standard function pg_sleep() to sleep for a specified amount of time.Tom Lane
Replace the former ad-hoc implementation used in the regression tests. Joachim Wieland
2006-01-08Add a new system view, pg_prepared_statements, that can be used toNeil Conway
access information about the prepared statements that are available in the current session. Original patch from Joachim Wieland, various improvements by Neil Conway. The "statement" column of the view contains the literal query string sent by the client, without any rewriting or pretty printing. This means that prepared statements created via SQL will be prefixed with "PREPARE ... AS ", whereas those prepared via the FE/BE protocol will not. That is unfortunate, but discussion on -patches did not yield an efficient way to improve this, and there is some merit in returning exactly what the client sent to the backend. Catalog version bumped, regression tests updated.
2006-01-06Release-note updates and copy editing.Tom Lane
2006-01-06Fix broken markup.Tom Lane
2006-01-05New pgcrypto item wording.Bruce Momjian
2006-01-05Wording improvements.Bruce Momjian
2006-01-05Improve markup.Bruce Momjian
2006-01-05Make all command-line options of postmaster and postgres the same. SeePeter Eisentraut
http://archives.postgresql.org/pgsql-hackers/2006-01/msg00151.php for the complete plan.
2006-01-05Update release notes for 8.1.X, 8.0.X, 7.4.X, and 7.3.X.Bruce Momjian
2006-01-05Remove BEOS port.Bruce Momjian
2006-01-05Remove QNX port.Bruce Momjian
2005-12-29Remove a space that incorrectly precedes a comma in the PL/pgSQLBruce Momjian
documentation. Michael Fuhr
2005-12-28Update COPY CSV \. wording for externally created files.Bruce Momjian
2005-12-28Add regression tests for CSV and \., and add automatic quoting of aBruce Momjian
single column dump that has a \. value, so the load works properly. I also added documentation describing this issue.
2005-12-28Implement SQL-compliant treatment of row comparisons for < <= > >= casesTom Lane
(previously we only did = and <> correctly). Also, allow row comparisons with any operators that are in btree opclasses, not only those with these specific names. This gets rid of a whole lot of indefensible assumptions about the behavior of particular operators based on their names ... though it's still true that IN and NOT IN expand to "= ANY". The patch adds a RowCompareExpr expression node type, and makes some changes in the representation of ANY/ALL/ROWCOMPARE SubLinks so that they can share code with RowCompareExpr. I have not yet done anything about making RowCompareExpr an indexable operator, but will look at that soon. initdb forced due to changes in stored rules.
2005-12-27Increase amount of shared buffers initdb tries to allocate to 4000,Andrew Dunstan
and add logic to try max_fsm_pages up to 200000, plus accompanying minor docs changes.
2005-12-26Rename pg_make_encrypted_password to PQencryptPassword.Peter Eisentraut
2005-12-25Minor doc tweak: "NOT NULL" is redundant with "SERIAL" in example.Neil Conway
2005-12-23Wups, fat-fingered the calculation the first time. Update comment inTom Lane
postgresql.conf.sample too.
2005-12-23Update info about shared memory space calculation to match CVS tip's behavior.Tom Lane
2005-12-23Allow CREATE/ALTER ROLE PASSWORD NULL to allow restoring the default statePeter Eisentraut
of having no password.
2005-12-23Add an officially exported libpq function to encrypt passwords, andTom Lane
modify the previous \password patch to use it instead of depending on a not-officially-exported function. Per discussion.
2005-12-23Add quotes around search_path "$user" so that SHOW output can be used inBruce Momjian
SET.
2005-12-22Update interval documenation to mention the storage system used.Bruce Momjian
2005-12-21Add documentation example of using interval multiplication with 'days'.Bruce Momjian
Backpatch to 8.1.X.