summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2008-09-15Change hash indexes to store only the hash code rather than the whole indexedTom Lane
value. This means that hash index lookups are always lossy and have to be rechecked when the heap is visited; however, the gain in index compactness outweighs this when the indexed values are wide. Also, we only need to perform datatype comparisons when the hash codes match exactly, rather than for every entry in the hash bucket; so it could also win for datatypes that have expensive comparison functions. A small additional win is gained by keeping hash index pages sorted by hash code and using binary search to reduce the number of index tuples we have to look at. Xiao Meng This commit also incorporates Zdenek Kotala's patch to isolate hash metapages and hash bitmaps a bit better from the page header datastructures.
2008-09-15Add missing quotes.Magnus Hagander
2008-09-15Parse pg_hba.conf in postmaster, instead of once in each backend forMagnus Hagander
each connection. This makes it possible to catch errors in the pg_hba file when it's being reloaded, instead of silently reloading a broken file and failing only when a user tries to connect. This patch also makes the "sameuser" argument to ident authentication optional.
2008-09-15Polish and Turkish FAQ also needed converting to UTF8Magnus Hagander
2008-09-15Convert Russian FAQ to UTF8, to make it render properly on the website.Magnus Hagander
2008-09-12Update citext's documentation to match the recently-applied patch,Tom Lane
per David Wheeler.
2008-09-12Update man page build instructions.Peter Eisentraut
2008-09-11Add a duration option to pgbench, so that test length can be specified in ↵Tom Lane
seconds instead of by number of transactions to run. Takahiro Itagaki
2008-09-11Tighten up to_date/to_timestamp so that they are more likely to rejectTom Lane
erroneous input, rather than silently producing bizarre results as formerly happened. Brendan Jurd
2008-09-11Adjust the parser to accept the typename syntax INTERVAL ... SECOND(n)Tom Lane
and the literal syntax INTERVAL 'string' ... SECOND(n), as required by the SQL standard. Our old syntax put (n) directly after INTERVAL, which was a mistake, but will still be accepted for backward compatibility as well as symmetry with the TIMESTAMP cases. Change intervaltypmodout to show it in the spec's way, too. (This could potentially affect clients, if there are any that analyze the typmod of an INTERVAL in any detail.) Also fix interval input to handle 'min:sec.frac' properly; I had overlooked this case in my previous patch. Document the use of the interval fields qualifier, which up to now we had never mentioned in the docs. (I think the omission was intentional because it didn't work per spec; but it does now, or at least close enough to be credible.)
2008-09-10Add "source file" and "source line" information to each GUC variable.Alvaro Herrera
initdb forced due to changes in the pg_settings view. Magnus Hagander and Alvaro Herrera.
2008-09-08Create a separate grantable privilege for TRUNCATE, rather than having it beTom Lane
always owner-only. The TRUNCATE privilege works identically to the DELETE privilege so far as interactions with the rest of the system go. Robert Haas
2008-09-07Clarify description of pg_restore's handling of large objects.Tom Lane
2008-09-07Add a few more details in the source-code-formatting documentation.Tom Lane
This isn't exhaustive but it covers some of the more common layout mistakes I've seen in submitted patches.
2008-09-07Clarify documention workding for xip_list().Bruce Momjian
Simon Riggs
2008-09-06Adjust psql's new \ef command to present an empty CREATE FUNCTION templateTom Lane
for editing if no function name is specified. This seems a much cleaner way to offer that functionality than the original patch had. In passing, de-clutter the error displays that are given for a bogus function-name argument, and standardize on "$function$" as the default delimiter for the function body. (The original coding would use the shortest possible dollar-quote delimiter, which seems to create unnecessarily high risk of later conflicts with the user-modified function body.)
2008-09-06Implement a psql command "\ef" to edit the definition of a function.Tom Lane
In support of that, create a backend function pg_get_functiondef(). The psql command is functional but maybe a bit rough around the edges... Abhijit Menon-Sen
2008-09-05Code coverage testing with gcov. Documentation is in the regression testPeter Eisentraut
chapter. Author: Michelle Caisse <Michelle.Caisse@Sun.COM>
2008-08-29Fixup pg_dumpall adding --lock-wait-timeout, to match pg_dump.Alvaro Herrera
David Gould
2008-08-29Remove all traces that suggest that a non-Bison yacc might be supported, andPeter Eisentraut
change build system to use only Bison. Simplify build rules, make file names uniform. Don't build the token table header file where it is not needed.
2008-08-26Fix pg_dump docs to acknowledge that you can use -Z with plain text output. ↵Tom Lane
Pointed out by Daniel Migowski.
2008-08-25Add standard boilerplate sentence about when stats_temp_directory can be ↵Tom Lane
changed.
2008-08-25Unconditionally write the statsfile when SIGHUP is received, to minimizeMagnus Hagander
the window during which backends have no statistics file to read.
2008-08-25Have man page generation work on VPATH builds too.Alvaro Herrera
2008-08-25Make stats_temp_directory PGC_SIGHUP, and document how it may cause a temporaryMagnus Hagander
"outage" of the statistics views. This requires making the stats collector respond to SIGHUP, like the other utility processes already did.
2008-08-23Update link to developer's FAQ from main FAQ.Bruce Momjian
2008-08-22Make "log_temp_files" super-user set only, like other logging options.Bruce Momjian
Simon Riggs
2008-08-21Mention that pg_dump does not dump ALTER DATABASE ... SET commands;Bruce Momjian
backpatch to 8.3.X. Also fix markup that had just one bullet.
2008-08-20Remove tools and documention for generating TODO.html.Bruce Momjian
2008-08-20TODO now in wiki, html version removed.Bruce Momjian
2008-08-20New TODO list URL wiki location listed; contents truncated.Bruce Momjian
2008-08-19Not done:Bruce Momjian
< o -Allow an existing index to be marked as a table's primary key > o Allow an existing index to be marked as a table's primary key
2008-08-19Cause the output from debug_print_parse, debug_print_rewritten, andTom Lane
debug_print_plan to appear at LOG message level, not DEBUG1 as historically. Make debug_pretty_print default to on. Also, cause plans generated via EXPLAIN to be subject to debug_print_plan. This is all to make debug_print_plan a reasonably comfortable substitute for the former behavior of EXPLAIN VERBOSE.
2008-08-19TODO done:Bruce Momjian
! o Allow an existing index to be marked as a table's primary key
2008-08-19Fix some issues that prevent this file to be processed by scripts.Alvaro Herrera
While at it, mark a couple of items completed in 8.4: ! o -Prevent long-lived temporary tables from causing frozen-xid advancement starvation ! * -Improve performance of shared invalidation queue for multiple CPUs Also remove a couple of obsolete assignments.
2008-08-18Add to TODO:Bruce Momjian
> > * Fix all set-returning system functions so they support a wildcard > target list > > SELECT * FROM pg_get_keywords() works but SELECT * FROM > pg_show_all_settings() does not.
2008-08-16Update instructions on generating TODO.html.Bruce Momjian
2008-08-16Add URL for:Bruce Momjian
* Improve ability to modify views via ALTER TABLE < > http://archives.postgresql.org/pgsql-hackers/2008-08/msg00300.php
2008-08-16Add to TODO:Bruce Momjian
> > * Prevent query cancel packets from being replayed by an attacker, > especially when using SSL > > http://archives.postgresql.org/pgsql-hackers/2008-08/msg00345.php >
2008-08-16Update Russian FAQ.Bruce Momjian
corochoone@gmail.com
2008-08-16Add new SQL training web site to FAQ:Bruce Momjian
<LI><A href= "http://sqlzoo.net">http://sqlzoo.net</A> </LI>
2008-08-15Make the temporary directory for pgstat files configurable by the GUCMagnus Hagander
variable stats_temp_directory, instead of requiring the admin to mount/symlink the pg_stat_tmp directory manually. For now the config variable is PGC_POSTMASTER. Room for further improvment that would allow it to be changed on-the-fly.
2008-08-14Implement SEMI and ANTI joins in the planner and executor. (Semijoins replaceTom Lane
the old JOIN_IN code, but antijoins are new functionality.) Teach the planner to convert appropriate EXISTS and NOT EXISTS subqueries into semi and anti joins respectively. Also, LEFT JOINs with suitable upper-level IS NULL filters are recognized as being anti joins. Unify the InClauseInfo and OuterJoinInfo infrastructure into "SpecialJoinInfo". With that change, it becomes possible to associate a SpecialJoinInfo with every join attempt, which permits some cleanup of join selectivity estimation. That needs to be taken much further than this patch does, but the next step is to change the API for oprjoin selectivity functions, which seems like material for a separate patch. So for the moment the output size estimates for semi and especially anti joins are quite bogus.
2008-08-14pg_buffercache needs to be taught about relation forks, as Greg StarkHeikki Linnakangas
pointed out.
2008-08-14Add URL for:Bruce Momjian
* Improve ability to modify views via ALTER TABLE > http://archives.postgresql.org/pgsql-hackers/2008-07/msg01410.php
2008-08-12Remove TODO itemPeter Eisentraut
Allow XML to accept more liberal DOCTYPE specifications Everything works correctly, per today's email to -general.
2008-08-12Add:Bruce Momjian
> * Add 'hostgss' pg_hba.conf option to allow GSS link-level encryption > > http://archives.postgresql.org/pgsql-hackers/2008-07/msg01454.php
2008-08-05Move pgstat.tmp into a temporary directory under $PGDATA named pg_stat_tmp.Magnus Hagander
This allows the use of a ramdrive (either through mount or symlink) for the temporary file that's written every half second, which should reduce I/O. On server shutdown/startup, the file is written to the old location in the global directory, to preserve data across restarts. Bump catversion since the $PGDATA directory layout changed.
2008-07-31Add URL to:Bruce Momjian
* Consider decreasing the I/O caused by updating tuple hint bits > http://archives.postgresql.org/pgsql-patches/2008-07/msg00199.php
2008-07-31Require superuser privilege to create base types (but not composites, enums,Tom Lane
or domains). This was already effectively required because you had to own the I/O functions, and the I/O functions pretty much have to be written in C since we don't let PL functions take or return cstring. But given the possible security consequences of a malicious type definition, it seems prudent to enforce superuser requirement directly. Per recent discussion.