summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2007-08-22Fix cut-n-paste-o.Tom Lane
2007-08-22Remove option to change parser of an existing text search configuration.Tom Lane
This prevents needing to do complex and poorly-defined updates of the mapping table if the new parser has different token types than the old. Per discussion.
2007-08-22Text search doc updates --- first cut atTom Lane
syncing the existing docs with the final syntax decisions.
2007-08-22Simplify the syntax of CREATE/ALTER TEXT SEARCH DICTIONARY by treating theTom Lane
init options of the template as top-level options in the syntax. This also makes ALTER a bit easier to use, since options can be replaced individually. I also made these statements verify that the tmplinit method will accept the new settings before they get stored; in the original coding you didn't find out about mistakes until the dictionary got invoked. Under the hood, init methods now get options as a List of DefElem instead of a raw text string --- that lets tsearch use existing options-pushing code instead of duplicating functionality.
2007-08-21First rough cut at text search documentation: bare bones referenceTom Lane
pages for the new SQL commands. I also committed Bruce's text search introductory chapter, as-is except for fixing some markup errors, so that there would be a place for the reference pages to link to.
2007-08-21Remove tabs from SGML files.Bruce Momjian
2007-08-21Tsearch2 functionality migrates to core. The bulk of this work is byTom Lane
Oleg Bartunov and Teodor Sigaev, but I did a lot of editorializing, so anything that's broken is probably my fault. Documentation is nonexistent as yet, but let's land the patch so we can get some portability testing done.
2007-08-20Add configure option --with-system-tzdata to use operating system time zonePeter Eisentraut
database.
2007-08-19minor typo fixes in CSVlog docs, per Michael GlaesemannAndrew Dunstan
2007-08-19Done:Bruce Momjian
< * Allow server log information to be output as INSERT statements > * -Allow server log information to be output as CSV format
2007-08-19Provide for logfiles in machine readable CSV format. In consequence, renameAndrew Dunstan
redirect_stderr to logging_collector. Original patch from Arul Shaji, subsequently modified by Greg Smith, and then heavily modified by me.
2007-08-16Add:Bruce Momjian
> > * Reduce XID consumption of read-only queries > > http://archives.postgresql.org/pgsql-hackers/2007-08/msg00516.php >
2007-08-15Add third idea about pulling data from indexes.Bruce Momjian
> A third idea would be for a heap scan to check if all rows are visible > and if so set a per-table flag which can be checked by index scans. > Any change to the table would have to clear the flag. To detect > changes during the heap scan a counter could be set at the start and > checked at the end --- if it is the same, the table has not been > modified --- any table change would increment the counter.
2007-08-15Fix whitespace in TODO.Bruce Momjian
2007-08-14Done for ecpg:Bruce Momjian
< o Use backend PREPARE/EXECUTE facility for ecpg where possible
2007-08-13TEMPORARILY make synchronous_commit default to OFF, so that we can get moreTom Lane
thorough testing of async-commit mode from the buildfarm. This patch MUST get reverted before 8.3 release!
2007-08-13Document that the regexp split functions ignore zero-length matches inTom Lane
certain corner cases. Per discussion, the code does what we want, but it really needs to be documented that these functions act differently from regexp_matches.
2007-08-11Code review for regexp_matches/regexp_split patch. Refactor to avoid assumingTom Lane
that cached compiled patterns will still be there when the function is next called. Clean up looping logic, thereby fixing bug identified by Pavel Stehule. Share setup code between the two functions, add some comments, and avoid risky mixing of int and size_t variables. Clean up the documentation a tad, and accept all the flag characters mentioned in table 9-19 rather than just a subset.
2007-08-06Fix incorrect URI for cvs rsyncMagnus Hagander
2007-08-04Switch over to using the src/timezone functions for formatting timestampsTom Lane
displayed in the postmaster log. This avoids Windows-specific problems with localized time zone names that are in the wrong encoding, and generally seems like a good idea to forestall other potential platform-dependent issues. To preserve the existing behavior that all backends will log in the same time zone, create a new GUC variable log_timezone that can only be changed on a system-wide basis, and reference log-related calculations to that zone instead of the TimeZone variable. This fixes the issue reported by Hiroshi Saito that timestamps printed by xlog.c startup could be improperly localized on Windows. We still need a simpler patch for that problem in the back branches, however.
2007-08-03Update supported standalone VC++ version to 7.1+ only, and fixMagnus Hagander
some bad data leftover in win32.mak. Per request from Hiroshi Saito.
2007-08-02Move session_start out of MyProcPort stucture and make it a global called ↵Andrew Dunstan
MyStartTime, so that we will be able to create a cookie for all processes for CSVlogs. It is set wherever MyProcPid is set. Take the opportunity to remove the now unnecessary session-only restriction on the %s and %c escapes in log_line_prefix.
2007-08-01Done:Bruce Momjian
< * Allow buffered WAL writes and fsync
2007-08-01Support an optional asynchronous commit mode, in which we don't flush WALTom Lane
before reporting a transaction committed. Data consistency is still guaranteed (unlike setting fsync = off), but a crash may lose the effects of the last few transactions. Patch by Simon, some editorialization by Tom.
2007-07-27Update conformance information about bigint typePeter Eisentraut
found by Michael Glaesemann
2007-07-25Implement RETURN QUERY for PL/PgSQL. This provides some convenient syntaxNeil Conway
sugar for PL/PgSQL set-returning functions that want to return the result of evaluating a query; it should also be more efficient than repeated RETURN NEXT statements. Based on an earlier patch from Pavel Stehule.
2007-07-24Create a new dedicated Postgres process, "wal writer", which exists to writeTom Lane
and fsync WAL at convenient intervals. For the moment it just tries to offload this work from backends, but soon it will be responsible for guaranteeing a maximum delay before asynchronously-committed transactions will be flushed to disk. This is a portion of Simon Riggs' async-commit patch, committed to CVS separately because a background WAL writer seems like it might be a good idea independently of the async-commit feature. I rebased walwriter.c on bgwriter.c because it seemed like a more appropriate way of handling signals; while the startup/shutdown logic in postmaster.c is more like autovac because we want walwriter to quit before we start the shutdown checkpoint.
2007-07-24Set a default autovacuum vacuum_cost_delay value of 20ms, to avoid excessiveAlvaro Herrera
I/O utilization, per discussion. While at it, lower the autovacuum vacuum and analyze threshold values to 50 tuples. It is a bit higher (i.e. more conservative) than what I originally proposed but much better than the old values for small tables.
2007-07-23Reword paragraph about the autovacuum_max_workers setting. Patch fromAlvaro Herrera
Jim Nasby.
2007-07-23SSPI authentication on Windows. GSSAPI compatible client when doing KerberosMagnus Hagander
against a Unix server, and Windows-specific server-side authentication using SSPI "negotiate" method (Kerberos or NTLM). Only builds properly with MSVC for now.
2007-07-21Provide a bit more high-level documentation for the GEQO planner.Tom Lane
Per request from Luca Ferrari.
2007-07-18GSSAPI documentationMagnus Hagander
2007-07-18Document that 'deleted' is also tracked by autovacuum.Bruce Momjian
2007-07-18Document that age() adds days, then full months.Bruce Momjian
2007-07-18Add:Bruce Momjian
> > o Allow GLOBAL temporary tables to exist as empty by default in > all sessions > > http://archives.postgresql.org/pgsql-hackers/2007-07/msg00006.php >
2007-07-17Remove http://www.benchmarkresources.com, no longer resolves to aBruce Momjian
meaningful site.
2007-07-17Implement CREATE TABLE LIKE ... INCLUDING INDEXES. Patch from NikhilS,Neil Conway
based in part on an earlier patch from Trevor Hardcastle, and reviewed by myself.
2007-07-17Add CVS Wiki URL to docs.Bruce Momjian
2007-07-17Add:Bruce Momjian
> * Allow multiple indexes to be created concurrently, ideally via a > single heap scan, and have a restore of a pg_dump somehow use it > > http://archives.postgresql.org/pgsql-general/2007-05/msg01274.php Small blank line additions.
2007-07-16Update docs that GNU tar versions >=1.16 exit with 1 on files changed, 2Bruce Momjian
on other errors.
2007-07-16Allow plpgsql function parameter names to be qualified with the function'sTom Lane
name. With this patch, it is always possible for the user to qualify a plpgsql variable name if needed to avoid ambiguity. While there is much more work to be done in this area, this simple change removes one unnecessary incompatibility with Oracle. Per discussion.
2007-07-15Note incompatibility with Oracle's version of FOR ... REVERSE, perTom Lane
Andrew Dunstan. Minor other improvements in documentation of integer FOR loops.
2007-07-14Editorial overhaul of plpgsql documentation. Provide detailed documentationTom Lane
of variable substitution and plan caching behavior in dedicated sections. (A lot of this material existed already, but was scattered in various places in the chapter.) Reorganize material a little bit, mostly to try to avoid diving into deep details in the first introductory sections. Document some fine points that had escaped treatment before, notably the ability to qualify plpgsql variable names with block labels. Some minor wordsmithing here and there.
2007-07-10Add note that building from CVS requires bison and flex, whereasTom Lane
building from a distribution tarball does not.
2007-07-10Adjust processSQLNamePattern() so that $ within the pattern is always matchedTom Lane
literally, whether quoted or not. Since we allow $ as a character within identifiers, this behavior is useful, whereas the previous behavior of treating it as the regexp ending anchor was nearly useless given that the pattern is automatically anchored anyway. This affects the arguments of psql's \d commands as well as pg_dump's -n and -t switches. Per discussion.
2007-07-09Minor copy-editing.Tom Lane
2007-07-08Closer code review for PQconnectionUsedPassword() patch: in particular,Tom Lane
not OK to include postgres_fe.h into libpq-fe.h, hence declare it as returning int not bool.
2007-07-08Fix broken markup.Tom Lane
2007-07-08Arrange for the authentication request type to be preserved inJoe Conway
PGconn. Invent a new libpq connection-status function, PQconnectionUsedPassword() that returns true if the server demanded a password during authentication, false otherwise. This may be useful to clients in general, but is immediately useful to help plug a privilege escalation path in dblink. Per list discussion and design proposed by Tom Lane.
2007-07-08Remove, per Magnus:Bruce Momjian
< o Check WSACancelBlockingCall() for interrupts [win32intr]