summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2006-05-23Add:Bruce Momjian
> o Add ALTER TABLE tab ADD/DROP INHERITS parent > > pg_attribute.attislocal has to be set to 'false' for ADD, and > pg_attribute.attinhcount adjusted appropriately >
2006-05-23Rename in release notes: Mac -> OS/X, Intel to x86:Bruce Momjian
Fix for OS/X Bonjour on x86 systems (Ashley Clark)
2006-05-23New wording, "What is the upgrade process for PostgreSQL?"Bruce Momjian
2006-05-23Update heading for upgrades.Bruce Momjian
2006-05-23Add mention that everyone should upgrade to minor releases.Bruce Momjian
2006-05-22Make "trigger" section:Bruce Momjian
> * Referential Integrity > > o Add MATCH PARTIAL referential integrity > o Change foreign key constraint for array -> element to mean element > in array? > o Enforce referential integrity for system tables > > < Referential Integrity < ===================== < < * Add MATCH PARTIAL referential integrity > Triggers > ======== < * Change foreign key constraint for array -> element to mean element < in array? 801d804 < * Enforce referential integrity for system tables
2006-05-22Update Japanese FAQ.Bruce Momjian
J.Kuwamura
2006-05-21Update release notes for upcoming releases.Tom Lane
2006-05-21Modify libpq's string-escaping routines to be aware of encoding considerationsTom Lane
and standard_conforming_strings. The encoding changes are needed for proper escaping in multibyte encodings, as per the SQL-injection vulnerabilities noted in CVE-2006-2313 and CVE-2006-2314. Concurrent fixes are being applied to the server to ensure that it rejects queries that may have been corrupted by attempted SQL injection, but this merely guarantees that unpatched clients will fail rather than allow injection. An actual fix requires changing the client-side code. While at it we have also fixed these routines to understand about standard_conforming_strings, so that the upcoming changeover to SQL-spec string syntax can be somewhat transparent to client code. Since the existing API of PQescapeString and PQescapeBytea provides no way to inform them which settings are in use, these functions are now deprecated in favor of new functions PQescapeStringConn and PQescapeByteaConn. The new functions take the PGconn to which the string will be sent as an additional parameter, and look inside the connection structure to determine what to do. So as to provide some functionality for clients using the old functions, libpq stores the latest encoding and standard_conforming_strings values received from the backend in static variables, and the old functions consult these variables. This will work reliably in clients using only one Postgres connection at a time, or even multiple connections if they all use the same encoding and string syntax settings; which should cover many practical scenarios. Clients that use homebrew escaping methods, such as PHP's addslashes() function or even hardwired regexp substitution, will require extra effort to fix :-(. It is strongly recommended that such code be replaced by use of PQescapeStringConn/PQescapeByteaConn if at all feasible.
2006-05-21Add a new GUC parameter backslash_quote, which determines whether the SQLTom Lane
parser will allow "\'" to be used to represent a literal quote mark. The "\'" representation has been deprecated for some time in favor of the SQL-standard representation "''" (two single quote marks), but it has been used often enough that just disallowing it immediately won't do. Hence backslash_quote allows the settings "on", "off", and "safe_encoding", the last meaning to allow "\'" only if client_encoding is a valid server encoding. That is now the default, and the reason is that in encodings such as SJIS that allow 0x5c (ASCII backslash) to be the last byte of a multibyte character, accepting "\'" allows SQL-injection attacks as per CVE-2006-2314 (further details will be published after release). The "on" setting is available for backward compatibility, but it must not be used with clients that are exposed to untrusted input. Thanks to Akio Ishida and Yasuo Ohgaki for identifying this security issue.
2006-05-19Add last-vacuum/analyze-time columns to the stats collector, both manual andAlvaro Herrera
issued by autovacuum. Add accessor functions to them, and use those in the pg_stat_*_tables system views. Catalog version bumped due to changes in the pgstat views and the pgstat file. Patch from Larry Rosenman, minor improvements by me.
2006-05-19Stamp 8.1.4, except configure/configure.in.Bruce Momjian
2006-05-19Update for version 8.1.4.Bruce Momjian
2006-05-19Update release notes for 8.1.4.Bruce Momjian
2006-05-18Change <type>string</> to <parameter>string</>.Bruce Momjian
2006-05-18Add:Bruce Momjian
> > * Add a GUC to control whether BEGIN inside a transcation should abort > the transaction.
2006-05-18Make function param_name/type documentation more consistent.Bruce Momjian
2006-05-17Allow the .pgpass hostname to match the default socket directory, asBruce Momjian
well as a blank pghost.
2006-05-13Update pg_dump vesion wording.Bruce Momjian
2006-05-13Mention version portability of pg_dump.Bruce Momjian
2006-05-11Code review for standard_conforming_strings patch. Fix it so it does notTom Lane
throw warnings for 100%-SQL-standard constructs, clean up some minor infelicities, try to un-break ecpg to the best of my ability. (It's not clear how ecpg is going to find out the setting of standard_conforming_strings, though.) I think pg_dump still needs work, too.
2006-05-10Clean up code associated with updating pg_class statistics columnsTom Lane
(relpages/reltuples). To do this, create formal support in heapam.c for "overwrite" tuple updates (including xlog replay capability) and use that instead of the ad-hoc overwrites we'd been using in VACUUM and CREATE INDEX. Take the responsibility for updating stats during CREATE INDEX out of the individual index AMs, and do it where it belongs, in catalog/index.c. Aside from being more modular, this avoids having to update the same tuple twice in some paths through CREATE INDEX. It's probably not measurably faster, but for sure it's a lot cleaner than before.
2006-05-09Revert documentation mention of array dimension checking, in next paragraph.Bruce Momjian
2006-05-09Mention array dimmensions are not enforced either.Bruce Momjian
2006-05-06Add description:Bruce Momjian
* %Disallow changing DEFAULT expression of a SERIAL column? > > This should be done only if the existing SERIAL problems cannot be > fixed. >
2006-05-06Recommend more clearly custom pg_dump format over tar, buy showingBruce Momjian
custom format examples first.
2006-05-06Document SSL CRL usage by libpq.Bruce Momjian
2006-05-05Add/ cleanup:Bruce Momjian
< * %Disallow changing default expression of a SERIAL column? > * %Disallow changing DEFAULT expression of a SERIAL column? 472a473,476 > * Add DEFAULT .. AS OWNER so permission checks are done as the table > owner > > This would be useful for SERIAL nextval() calls and CHECK constraints.
2006-05-04Rethink the locking mechanisms used for CREATE/DROP/RENAME DATABASE.Tom Lane
The former approach used ExclusiveLock on pg_database, which being a cluster-wide lock meant only one of these operations could proceed at a time; worse, it also blocked all incoming connections in ReverifyMyDatabase. Now that we have LockSharedObject(), we can use locks of different types applied to databases considered as objects. This allows much more flexible management of the interlocking: two CREATE DATABASEs need not block each other, and need not block connections except to the template database being used. Similarly DROP DATABASE doesn't block unrelated operations. The locking used in flatfiles.c is also much narrower in scope than before. Per recent proposal.
2006-05-02Clean up API for ambulkdelete/amvacuumcleanup as per today's discussion.Tom Lane
This formulation requires every AM to provide amvacuumcleanup, unlike before, but it's surely a whole lot cleaner. Also, add an 'amstorage' column to pg_am so that we can get rid of hardwired knowledge in DefineOpClass().
2006-05-02Fix broken markup.Tom Lane
2006-04-30Code review for GRANT CONNECT patch. Spell the privilege as CONNECT notTom Lane
CONNECTION, fix a number of places that were missed (eg pg_dump support), avoid executing an extra search of pg_database during startup.
2006-04-30Improve the representation of FOR UPDATE/FOR SHARE so that we canTom Lane
support both FOR UPDATE and FOR SHARE in one command, as well as both NOWAIT and normal WAIT behavior. The more general code is actually simpler and cleaner.
2006-04-30Done:Bruce Momjian
> o -Allow per-database permissions to be set via GRANT
2006-04-30Add GRANT CONNECTION ON DATABASE, to be used in addition to pg_hba.conf.Bruce Momjian
Gevik Babakhani
2006-04-30Add question mark:Bruce Momjian
> * %Disallow changing default expression of a SERIAL column?
2006-04-30Revert patch pending more discussion:Bruce Momjian
Disallow changing DEFAULT expression of a SERIAL column.
2006-04-29Done:Bruce Momjian
> * -Disallow changing default expression of a SERIAL column
2006-04-27Add to item log_min_error_messages item:Bruce Momjian
> Another idea is to allow separate configuration files for each module, > or allow arbitrary SET commands to be passed to them.
2006-04-27Add:Bruce Momjian
> * Invalidate prepared queries, like INSERT, when the table definition > is altered
2006-04-27Add support for SSL Certificate Revocation List (CRL) files, root.crl.Bruce Momjian
Libor Hoho?
2006-04-27Use schema search path to find the first matching contraint name for SETBruce Momjian
CONSTRAINT, rather than affecting all constraints in all schemas (which is what we used to do). Also allow schema specifications. Kris Jurka
2006-04-26Allow pg_resetxlog -f to reset pg_control counters using xlogBruce Momjian
information, and add a -r option to reset pg_control without affecting xlog. yuanjia lee
2006-04-26Done:Bruce Momjian
* -Allow WAL information to recover corrupted pg_controldata
2006-04-25Adjust SGML spacing.Bruce Momjian
2006-04-25Back out the rest of the RESET CONNECTION patch.Tom Lane
2006-04-25Remove equals sign from environment variable with not defaults forBruce Momjian
configure.
2006-04-25Make configure environment variable options without defaults not have anBruce Momjian
equals sign.
2006-04-25Add documentation about configure environment variabbles used.Bruce Momjian
David Wheeler
2006-04-25Call SET varaiables "configuration_parameter"s in the documentation.Bruce Momjian