summaryrefslogtreecommitdiff
path: root/doc/src/sgml
AgeCommit message (Collapse)Author
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-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-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-30Add GRANT CONNECTION ON DATABASE, to be used in addition to pg_hba.conf.Bruce Momjian
Gevik Babakhani
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-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
2006-04-25Change "parameter" to "varname" in the alter role and alter userBruce Momjian
documentation sections. Also update SET/RESET to be consistent. Nicolas Barbier
2006-04-25Back out RESET CONNECTION until there is more discussion.Bruce Momjian
2006-04-25Add RESET CONNECTION, to reset all aspects of a session.Bruce Momjian
Hans-J?rgen Sch?nig
2006-04-25Add statement_timestamp(), clock_timestamp(), andBruce Momjian
transaction_timestamp() (just like now()). Also update statement_timeout() to mention it is statement arrival time that is measured. Catalog version updated.
2006-04-23Removes or minimizes some documentation mentions of backwardBruce Momjian
compatibility for release 7.2 and earlier. I have not altered any mentions of release 7.3 or later. The release notes were not modified, so the changes are still documented, just not in the main docs.
2006-04-22Suggest Win32 users user E'' strings and double backslashes used forBruce Momjian
patch separators in COPY. Backpatch doubleing backslashes suggestion to 8.1.
2006-04-18Remove kill mention in install docs, was for pre-7.0 releases.Bruce Momjian
2006-04-18Mention "syntax" error as not logged by log_statement.Bruce Momjian
Backpatch.
2006-04-18Document that errors are not output by log_statement (was they were inBruce Momjian
8.0), and add as suggestion to use log_min_error_statement for this purpose. I also fixed the code so the first EXECUTE has it's prepare, rather than the last which is what was in the current code. Also remove "protocol" prefix for SQL EXECUTE output because it is not accurate. Backpatch to 8.1.X.
2006-04-15Document that pg_dump -d/-D prevents invalid data from canceling theBruce Momjian
entire table load.
2006-04-15Support the syntaxTom Lane
CREATE AGGREGATE aggname (input_type) (parameter_list) along with the old syntax where the input type was named in the parameter list. This fits more naturally with the way that the aggregate is identified in DROP AGGREGATE and other utility commands; furthermore it has a natural extension to handle multiple-input aggregates, where the basetype-parameter method would get ugly. In fact, this commit fixes the grammar and all the utility commands to support multiple-input aggregates; but DefineAggregate rejects it because the executor isn't fixed yet. I didn't do anything about treating agg(*) as a zero-input aggregate instead of artificially making it a one-input aggregate, but that should be considered in combination with supporting multi-input aggregates.
2006-04-11Oops, sysctl, not sysconf, for FreeBSD.Bruce Momjian
2006-04-11More FreeBSD jail wording improvements.Bruce Momjian
2006-04-11Update jail wording to mention non-root users.Bruce Momjian
2006-04-11Add documentation about running postmasters in FreeBSD jails (useBruce Momjian
separate users).
2006-04-06Build src/test/regress/README during tarball making like the otherPeter Eisentraut
generated text files. Fix build of that file, too. Put the text files in the right place during make dist, so there are no extra manual steps required anymore.
2006-04-05Fix a bunch of problems with domains by making them use special input functionsTom Lane
that apply the necessary domain constraint checks immediately. This fixes cases where domain constraints went unchecked for statement parameters, PL function local variables and results, etc. We can also eliminate existing special cases for domains in places that had gotten it right, eg COPY. Also, allow domains over domains (base of a domain is another domain type). This almost worked before, but was disallowed because the original patch hadn't gotten it quite right.
2006-04-04Modify all callers of datatype input and receive functions so that if theseTom Lane
functions are not strict, they will be called (passing a NULL first parameter) during any attempt to input a NULL value of their datatype. Currently, all our input functions are strict and so this commit does not change any behavior. However, this will make it possible to build domain input functions that centralize checking of domain constraints, thereby closing numerous holes in our domain support, as per previous discussion. While at it, I took the opportunity to introduce convenience functions InputFunctionCall, OutputFunctionCall, etc to use in code that calls I/O functions. This eliminates a lot of grotty-looking casts, but the main motivation is to make it easier to grep for these places if we ever need to touch them again.
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-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.