summaryrefslogtreecommitdiff
path: root/doc/src/sgml
AgeCommit message (Collapse)Author
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.
2005-12-21Add additional example for interval multiplication.Bruce Momjian
Fix example for day and hours interval subtraction for new computation method. Update interval examples to display zero seconds, which is our default. Backpatch to 8.1.X.
2005-12-20Teach planner how to rearrange join order for some classes of OUTER JOIN.Tom Lane
Per my recent proposal. I ended up basing the implementation on the existing mechanism for enforcing valid join orders of IN joins --- the rules for valid outer-join orders are somewhat similar.
2005-12-20Fix broken markup.Tom Lane
2005-12-18Add new psql command \password for changing role password with client-sidePeter Eisentraut
password encryption. Also alter createuser command to the same effect.
2005-12-11Implement IS NOT DISTINCT FROM, update the regression tests and docs.Neil Conway
Patch from Pavel Stehule, minor fixups by myself.
2005-12-09Add release notes for back branches (7.3 and up).Tom Lane
Also minor improvements to 8.1.1 release notes.
2005-12-09Add documentation about the behavior of BEFORE triggers and referentialBruce Momjian
integrity actions. Stephan Szabo
2005-12-09Remove mention that history is _now_ automatically saved on exit. ItBruce Momjian
has been that way for a long time.
2005-12-09Fix broken markup.Tom Lane
2005-12-09Let initdb detect the date order of the lc_time locale and initialize thePeter Eisentraut
datestyle parameter of the new cluster accordingly.
2005-12-08Release note wording improvements.Bruce Momjian
2005-12-08Wrap UTF-8 paragraph.Bruce Momjian