summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2006-04-03Define a separately configurable XLOG_BLCKSZ symbol for the page sizeTom Lane
used within WAL files. Historically this was the same as the data file BLCKSZ, but there's no necessary connection, and it's possible that performance gains might ensue from reducing XLOG_BLCKSZ. In any case distinguishing two symbols should improve code clarity. This commit does not actually change the page size, only provide the infrastructure to make it possible to do so. initdb forced because of addition of a field to pg_control. Mark Wong, with some help from Simon Riggs and Tom Lane.
2006-04-03Update for max row size.Bruce Momjian
2006-04-03Update max row size to 400gb, per Tom.Bruce Momjian
2006-04-02Rewrite much of psql's \connect code, for the sake of code clarity andNeil Conway
to fix regressions introduced in the recent patch adding additional \connect options. This is based on work by Volkan YAZICI, although this version of the patch doesn't bear much resemblance to Volkan's version. \connect takes 4 optional arguments: database name, user name, host name, and port number. If any of those parameters are omitted or specified as "-", the value of that parameter from the previous connection is used instead; if there is no previous connection, the libpq default is used. Note that this behavior makes it impossible to reuse the libpq defaults without quitting psql and restarting it; I don't really see the use case for needing to do that.
2006-04-02Update information schema for SQL:2003 and new PostgreSQL features.Peter Eisentraut
2006-04-02Correct some errors and do some SGML police work on the reference pagesNeil Conway
for REASSIGN OWNED and DROP OWNED.
2006-04-02Minor improvement to DROP TABLE reference page.Neil Conway
2006-03-17Document long names for format options (plain, tar, custom). They alreadyPeter Eisentraut
worked and someone asked about them, so we might as well document them.
2006-03-11Add CVS tag lines to files that were lacking them.Bruce Momjian
2006-03-10Implement 4 new aggregate functions from SQL2003. Specifically: var_pop(),Neil Conway
var_samp(), stddev_pop(), and stddev_samp(). var_samp() and stddev_samp() are just renamings of the historical Postgres aggregates variance() and stddev() -- the latter names have been kept for backward compatibility. This patch includes updates for the documentation and regression tests. The catversion has been bumped. NB: SQL2003 requires that DISTINCT not be specified for any of these aggregates. Per discussion on -patches, I have NOT implemented this restriction: if the user asks for stddev(DISTINCT x), presumably they know what they are doing.
2006-03-10Make $PostgreSQL CVS tags consistent for SGML files.Bruce Momjian
2006-03-08Remove somebody's flight of fancy about an UPDATE with ORDER BY and LIMIT.Tom Lane
2006-03-07Properly set "escape_string_warning" to default to true.Bruce Momjian
2006-03-06SGML typo fix.Bruce Momjian
2006-03-06Done though the second is default so off in 8.2:Bruce Momjian
> * -Eventually enable escape_string_warning and standard_conforming_strings
2006-03-06Attached is the new patch. To summarize:Bruce Momjian
- new function justify_interval(interval) - modified function justify_hours(interval) - modified function justify_days(interval) These functions are defined to meet the requirements as discussed in this thread. Specifically: - justify_hours makes certain the sign bit on the hours matches the sign bit on the days. It only checks the sign bit on the days, and not the months, when determining if the hours should be positive or negative. After the call, -24 < hours < 24. - justify_days makes certain the sign bit on the days matches the sign bit on the months. It's behavior does not depend on the hours, nor does it modify the hours. After the call, -30 < days < 30. - justify_interval makes sure the sign bits on all three fields months, days, and hours are all the same. After the call, -24 < hours < 24 AND -30 < days < 30. Mark Dilger
2006-03-06Enable standard_conforming_strings to be turned on.Bruce Momjian
Kevin Grittner
2006-03-06Add:Bruce Momjian
> o Prevent parent tables from altering or dropping constraints > like CHECK that are inherited by child tables > > Dropping constraints should only be possible with CASCADE. >
2006-03-06Add for Win32:Bruce Momjian
> o Check WSACancelBlockingCall() for interrupts (win32intr) >
2006-03-06Add for ecpg:Bruce Momjian
> o Add COPY TO STDIN / STDOUT handling
2006-03-06Update:Bruce Momjian
< * %Disallow changing sequence characteristics like INCREMENT for SERIAL columns > * %Disallow ALTER SEQUENCE changes for SERIAL sequences because pg_dump > does not dump the changes
2006-03-06Add:Bruce Momjian
> * %Disallow changing sequence characteristics like INCREMENT for SERIAL columns
2006-03-06in the docs, the function "ascii(text)" is described asBruce Momjian
returning "ASCII code of the first character of the argument" (see http://www.postgresql.org/docs/8.1/interactive/functions-string.html, Table 9-6. "Other String Functions"). Presumably this should read "ASCII code of the first byte of the argument", which is what is returned when the argument is a multi-byte character (although then with UTF-8 at least that might not necessarily be an ASCII code). Ian Barwick
2006-03-05Add:Bruce Momjian
> o Port contrib/xml2
2006-03-05Prepared queries for PLPerl, plus fixing a small plperl memory leak. PatchAndrew Dunstan
and docs from Dmitry Karasik, slightly editorialised.
2006-03-05Update copyright for 2006. Update scripts.Bruce Momjian
2006-03-05Done:Bruce Momjian
> o -Add "include file" functionality in postgresql.conf
2006-03-05Improve OS X shared-memory documentation: fix typos and provide a usableTom Lane
example of /etc/sysctl.conf contents.
2006-03-04Support include directives in postgresql.conf.Tom Lane
Patch by Joachim Wieland, somewhat reworked for clarity and portability.
2006-03-04Add:Bruce Momjian
> * Allow FSM page return free space based on table clustering, to assist > in maintaining clustering?
2006-03-04> It doesn't say that only the listed commands acquire ACCESS EXCLUSIVE,Bruce Momjian
> just that certain commands do. TRUNCATE isn't shown. Patch against HEAD to add TRUNCATE to the list of commands that aquire ACCESS EXCLUSIVE. Jim C. Nasby, Sr.
2006-03-04That was a typo in my comment before the code (the nutshellBruce Momjian
descriptions after the code are correct). Only shmmax needs to be multiples of the page size (at least, that's how I interpret the Darwin code). Chris Campbell
2006-03-03Rename Online Backup to Continuous Archiving.Bruce Momjian
2006-03-03Teach PQcmdTuples() that a COPY command tag might contain a row count,Tom Lane
and tighten up its sanity checking of the tag as a safety measure. Volkan Yazici.
2006-03-03Done:Bruce Momjian
> * -Allow TRUNCATE ... CASCADE/RESTRICT
2006-03-03Done:Bruce Momjian
< o %Have COPY return the number of rows loaded/unloaded? > o -Have COPY return the number of rows loaded/unloaded?
2006-03-03Make the COPY command return a command tag that includes the number ofTom Lane
rows copied. Backend side of Volkan Yazici's recent patch, with corrections and documentation.
2006-03-03Add CASCADE option to TRUNCATE. Joachim WielandTom Lane
2006-03-03Add:Bruce Momjian
> * Allow FSM to return free space toward the beginning of the heap file, > in hopes that empty pages at the end can be truncated by VACUUM
2006-03-03Appended is a small documentation patch that adds a note to the CREATEBruce Momjian
ROLE page, based on what Tom Lane told me here: http://archives.postgresql.org/pgsql-general/2005-11/msg00998.php Joachim Wieland
2006-03-03Add:Bruce Momjian
> * Add missing parameter handling in to_char() > > http://archives.postgresql.org/pgsql-hackers/2005-12/msg00948.php >
2006-03-03Add:Bruce Momjian
> * Allow to_date() and to_timestamp() accept localized month names
2006-03-02Fix ancient error in large objects usage example: overwrite() subroutineTom Lane
was opening with INV_READ flag and then writing. Prior to 8.1 the backend did not reject this, but now it does.
2006-03-02Update OS X shared memory documentation for 10.3.9 and later to useBruce Momjian
/etc/sysctl.conf. Chris Campbell
2006-03-02Mark tsearch2 item as Tom's, not Teodor's.Bruce Momjian
2006-03-02Add:Bruce Momjian
> * Improve port/qsort() to handle sorts with 50% unique and 50% duplicate > value [qsort] > > This involves choosing better pivot points for the quicksort.
2006-03-01Update text file.Bruce Momjian
2006-03-01Update patch generation instructions.Bruce Momjian
Robert Treat
2006-03-01Update Japanese FAQ, backpatched to 8.1.X.Bruce Momjian
2006-03-01This patch makes the error message strings throughout the backendNeil Conway
more compliant with the error message style guide. In particular, errdetail should begin with a capital letter and end with a period, whereas errmsg should not. I also fixed a few related issues in passing, such as fixing the repeated misspelling of "lexeme" in contrib/tsearch2 (per Tom's suggestion).