summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2006-02-01Add:Bruce Momjian
> * Allow statistics collector information to be pulled from the collector > process directly, rather than requiring the collector to write a > filesystem file twice a second?
2006-02-01Move items:Bruce Momjian
> * Add SQL99 WITH clause to SELECT > * Add SQL99 WITH RECURSIVE to SELECT < * Add SQL99 WITH clause to SELECT < * Add SQL99 WITH RECURSIVE to SELECT
2006-02-01Add:Bruce Momjian
> > o Prevent tab completion of SET TRANSACTION from querying the > database and therefore preventing the transaction isolation > level from being set. > > Currently, SET <tab> causes a database lookup to check all > supported session variables. This query causes problems > because setting the transaction isolation level must be the > first statement of a transaction.
2006-01-31Removed single quotes from connect to example.Michael Meskes
2006-01-26Done:Bruce Momjian
< * %Prevent INET cast to CIDR if the unmasked bits are not zero, or < zero the bits < * %Prevent INET cast to CIDR from dropping netmask, SELECT '1.1.1.1'::inet::cidr > * -Zero umasked bits in conversion from INET cast to CIDR > * -Prevent INET cast to CIDR from dropping netmask, SELECT '1.1.1.1'::inet::cidr
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-23Done:Bruce Momjian
< o Allow an alias to be provided for the target table in < UPDATE/DELETE < < This is not SQL-spec but many DBMSs allow it. < > o -Allow an alias to be provided for the target table in > UPDATE/DELETE (Neil)
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-18Done:Bruce Momjian
> o -Allow pooled connections to list all open WITH HOLD cursors
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-11Done:Bruce Momjian
> * -Add sleep() function, remove from regress.c
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-09Done:Bruce Momjian
< * %Allow pooled connections to list all prepared statements > * -%Allow pooled connections to list all prepared statements
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-05Add:Bruce Momjian
> > * Allow SERIAL sequences to inherit permissions from the base table?
2006-01-05Update:Bruce Momjian
< stable logging probably can not have indexes. [wallog] > stable logging probably can not have indexes. [walcontrol]
2006-01-05Update wording:Bruce Momjian
< STABLE | DEFAULT ]. [wallog] > STABLE | DEFAULT ]. Tables using non-default logging should not use > referential integrity with default-logging tables, and tables using > stable logging probably can not have indexes. [wallog]
2006-01-05Update wording:Bruce Momjian
< the table. Another option is to avoid transaction logging entirely < and truncate or drop the table on crash recovery. These should be < implemented using ALTER TABLE, e.g. ALTER TABLE PERSISTENCE [ DROP | < TRUNCATE | STABLE | DEFAULT ]. [wallog] > the table. This would affect COPY, and perhaps INSERT/UPDATE too. > Another option is to avoid transaction logging entirely and truncate > or drop the table on crash recovery. These should be implemented > using ALTER TABLE, e.g. ALTER TABLE PERSISTENCE [ DROP | TRUNCATE | > STABLE | DEFAULT ]. [wallog]
2006-01-05Add:Bruce Momjian
> > * Allow control over which tables are WAL-logged > > Allow tables to bypass WAL writes and just fsync() dirty pages on > commit. To do this, only a single writer can modify the table, and > writes must happen only on new pages. Readers can continue accessing > the table. Another option is to avoid transaction logging entirely > and truncate or drop the table on crash recovery. These should be > implemented using ALTER TABLE, e.g. ALTER TABLE PERSISTENCE [ DROP | > TRUNCATE | STABLE | DEFAULT ]. [wallog]
2006-01-05New pgcrypto item wording.Bruce Momjian
2006-01-05Update item:Bruce Momjian
< * %Remove behavior of postmaster -o after making postmaster/postgres < flags unique > * %Remove behavior of postmaster -o
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-05Update version number.Bruce Momjian
2006-01-05Done:Bruce Momjian
> * -Remove BeOS and QNX-specific code