summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2006-08-03Cause ALTER TABLE to perform ALTER COLUMN DROP DEFAULT operations duringTom Lane
the DROP pass rather than the ADD_CONSTR pass. On examining the code I think this was just an oversight rather than intentional, and it seems to satisfy the principle of least surprise better than the alternative solution that was discussed. Add an example to the ref page showing how to do ALTER TYPE and update the default in one command. Per gripe from Markus Bertheau that that wasn't possible.
2006-08-02Fix documentation error: GRANT/REVOKE for roles only accept role namesTom Lane
as grantees, not PUBLIC ... and you can't say GROUP either. Noted by Brian Hurt.
2006-08-02Update:Bruce Momjian
< o Add COPY TO STDIN / STDOUT handling > o Add COPY TO STDIN handling
2006-08-02Add:Bruce Momjian
> o In rules, allow VALUES() to contain a mixture of 'old' and 'new' > references
2006-08-02Done:Bruce Momjian
o -Allow INSERT INTO tab (col1, ..) VALUES (val1, ..), (val2, ..)
2006-08-01Editorialize a bit on the recent patch, reverting to the original versionsAlvaro Herrera
of the text where appropiate.
2006-08-01Add pg_dump -X no-data-for-failed-tables option to suppress loading dataBruce Momjian
if table creation failed (the table already exists). Martin Pitt
2006-08-01Done:Bruce Momjian
< o %Allow pg_dump to use multiple -t and -n switches [pg_dump] < < http://archives.postgresql.org/pgsql-patches/2006-01/msg00190.php < > o -Allow pg_dump to use multiple -t and -n switches, exclusion > ability, and regular expression object matching
2006-08-01Allow multiple -n (schema) and -t (table) pg_dump options, and add -TBruce Momjian
and -N options to exclude objects. Also support regular expressions for option object names. Greg Sabino Mullane
2006-08-01Improvements to Maintenance and External Projects documentation.Bruce Momjian
Joshua D. Drake Robert Treat
2006-07-31Add:Bruce Momjian
> * Consider compressed annealing to search for query plans > > This might replace GEQO, http://sixdemonbag.org/Djinni.
2006-07-31Change the relation_open protocol so that we obtain lock on a relationTom Lane
(table or index) before trying to open its relcache entry. This fixes race conditions in which someone else commits a change to the relation's catalog entries while we are in process of doing relcache load. Problems of that ilk have been reported sporadically for years, but it was not really practical to fix until recently --- for instance, the recent addition of WAL-log support for in-place updates helped. Along the way, remove pg_am.amconcurrent: all AMs are now expected to support concurrent update.
2006-07-31Change the bootstrap sequence so that toast tables for system catalogs areTom Lane
created in the bootstrap phase proper, rather than added after-the-fact by initdb. This is cleaner than before because it allows us to retire the undocumented ALTER TABLE ... CREATE TOAST TABLE command, but the real reason I'm doing it is so that toast tables of shared catalogs will now have predetermined OIDs. This will allow a reasonably clean solution to the problem of locking tables before we load their relcache entries, to appear in a forthcoming patch.
2006-07-31Fix confusion between COPY FROM and COPY TO, per Gavin Sharry and Arul Shaji.Alvaro Herrera
2006-07-30Add:Bruce Momjian
> * Consider detoasting keys before sorting
2006-07-29Add entry:Bruce Momjian
> * Add column to pg_stat_activity that shows the progress of long-running > commands like CREATE INDEX and VACUUM
2006-07-29Add:Bruce Momjian
> * Add support for SQL-standard GENERATED/IDENTITY columns > > http://archives.postgresql.org/pgsql-hackers/2006-07/msg00543.php
2006-07-28Updates per Tom:Bruce Momjian
> * Allow DISTINCT to work in multiple-argument aggregate calls < o Allow UPDATE to handle complex aggregates [update]?
2006-07-28SQL2003-standard statistical aggregates, by Sergey Koposov. I've added onlyTom Lane
the float8 versions of the aggregates, which is all that the standard requires. Sergey's original patch also provided versions using numeric arithmetic, but given the size and slowness of the code, I doubt we ought to include those in core.
2006-07-28Fix table title.Tom Lane
2006-07-28Make it clearer that not every Postgres character set can be used as aTom Lane
server-side character set.
2006-07-28Update Tatsuo:Bruce Momjian
< * Tatsuo is Tatsuo Ishii <t-ishii@sra.co.jp> of Software Research Assoc. > * Tatsuo is Tatsuo Ishii <ishii@sraoss.co.jp> of SRA OSS, Inc. Japan
2006-07-27Add URL for UPDATE/SET for multiple values.Bruce Momjian
2006-07-27Add for UPDATE SET for multiple values:Bruce Momjian
> > A subselect can also be used as the value source.
2006-07-27Aggregate functions now support multiple input arguments. I also tookTom Lane
the opportunity to treat COUNT(*) as a zero-argument aggregate instead of the old hack that equated it to COUNT(1); this is materially cleaner (no more weird ANYOID cases) and ought to be at least a tiny bit faster. Original patch by Sergey Koposov; review, documentation, simple regression tests, pg_dump and psql support by moi.
2006-07-27Allow LDAP lookups from pg_service.conf.Bruce Momjian
Albe Laurenz
2006-07-27Allow units to be specified with configuration settings.Peter Eisentraut
2006-07-26Reorder items:Bruce Momjian
< o Allow point-in-time recovery to archive partially filled < write-ahead logs? [pitr] > o Add command to archive partially filled write-ahead logs? [pitr] < of a disk failure. This could be triggered by a user command or < a timer. > of a disk failure. < recovery. A function call to do this would also be useful. > recovery. > o Add reporting of the current WAL file and offset, perhaps as > part of partial log file archiving > > The offset allows parts of a WAL file to be archived using > an external program. > < o Add reporting of the current WAL file and offset, perhaps as < part of partial log file archiving < < The offset allows parts of a WAL file to be archived using < an external program.
2006-07-26Convert effective_cache_size to an integer, for better integration withPeter Eisentraut
upcoming units feature.
2006-07-26Done:Bruce Momjian
> * -Change LIMIT/OFFSET and FETCH/MOVE to use int8
2006-07-25Add reason for WAL offset reporting:Bruce Momjian
> > The offset allows parts of a WAL file to be archived using > an external program.
2006-07-25Add offset mention:Bruce Momjian
< o Add reporting of the current WAL file, perhaps as part of < partial log file archiving > o Add reporting of the current WAL file and offset, perhaps as > part of partial log file archiving
2006-07-25Update PITR:Bruce Momjian
< write-ahead logs [pitr] > write-ahead logs? [pitr] < recovery. > recovery. A function call to do this would also be useful.
2006-07-25Done:Bruce Momjian
> o -Allow customization of the known set of TZ names (generalize the
2006-07-25Remove hard-wired lists of timezone abbreviations in favor of providingTom Lane
configuration files that can be altered by a DBA. The australian_timezones GUC setting disappears, replaced by a timezone_abbreviations setting (set this to 'Australia' to get the effect of australian_timezones). The list of zone names defined by default has undergone a bit of cleanup, too. Documentation still needs some work --- in particular, should we fix Table B-4, or just get rid of it? Joachim Wieland, with some editorializing by moi.
2006-07-24DTrace support, with a small initial set of probesPeter Eisentraut
by Robert Lor
2006-07-20Update documentation on GRANT SCEMA USAGE, again.Bruce Momjian
2006-07-19Update GRANT USAGE on schema permission description.Bruce Momjian
2006-07-19Adjust spawn_process() to avoid unnecessary overhead processes: we canTom Lane
just exec instead of creating a subprocess. This reduces process usage from four processes per parallel test to two. I have no idea whether a comparable optimization is possible or useful in the Windows port.
2006-07-19Rewrite pg_regress as a C program instead of a shell script.Tom Lane
This allows it to be used on Windows without installing mingw (though you do still need 'diff'), and opens the door to future improvements such as message localization. Magnus Hagander and Tom Lane.
2006-07-18Done:Bruce Momjian
o -Display IN, INOUT, and OUT parameters in \df
2006-07-16Minor documentation tweak: in the tables of functions and operators,Neil Conway
don't include a space between the function name and the parenthesis that begins its parameter list, for consistency.
2006-07-14Minor doc tweak: replace a "--" with "&mdash;".Neil Conway
2006-07-13Reorder the entries in the function section of the manual, to ensure theyNeil Conway
are alphabetically ordered. I believe the tables were correctly ordered in the past, but some of them had subsequently regressed.
2006-07-12Update schema USAGE permission description.Bruce Momjian
2006-07-11Tweak fillfactor code as per my recent proposal. Fix nbtsort.c so thatTom Lane
it can handle small fillfactors for ordinary-sized index entries without failing on large ones; fix nbtinsert.c to distinguish leaf and nonleaf pages; change the minimum fillfactor to 10% for all index types.
2006-07-11Correct the description of the pg_get_viewdef() function. Do some nearbyNeil Conway
SGML cleanup: sort table entries alphabetically.
2006-07-10Add #include code to prevent multiple inclusion.Bruce Momjian
2006-07-10Update schema GRANT USAGE description.Bruce Momjian
2006-07-10Improve vacuum code to track minimum Xids per table instead of per database.Alvaro Herrera
To this end, add a couple of columns to pg_class, relminxid and relvacuumxid, based on which we calculate the pg_database columns after each vacuum. We now force all databases to be vacuumed, even template ones. A backend noticing too old a database (meaning pg_database.datminxid is in danger of falling behind Xid wraparound) will signal the postmaster, which in turn will start an autovacuum iteration to process the offending database. In principle this is only there to cope with frozen (non-connectable) databases without forcing users to set them to connectable, but it could force regular user database to go through a database-wide vacuum at any time. Maybe we should warn users about this somehow. Of course the real solution will be to use autovacuum all the time ;-) There are some additional improvements we could have in this area: for example the vacuum code could be smarter about not updating pg_database for each table when called by autovacuum, and do it only once the whole autovacuum iteration is done. I updated the system catalogs documentation, but I didn't modify the maintenance section. Also having some regression tests for this would be nice but it's not really a very straightforward thing to do. Catalog version bumped due to system catalog changes.