summaryrefslogtreecommitdiff
path: root/doc/src/sgml
AgeCommit message (Collapse)Author
2004-07-21Please find enclosed a patch that matches the PL/Perl documentationBruce Momjian
(fairly closely, I hope) to the current PL/Perl implementation. David Fetter
2004-07-21Back out pg_autovacuum commit after cvs clean failure causes commit.Bruce Momjian
2004-07-21lease find enclosed a patch that matches the PL/Perl documentationBruce Momjian
(fairly closely, I hope) to the current PL/Perl implementation. David Fetter
2004-07-19Here is another patch that fixes a stack of pg_dump bugs:Bruce Momjian
* Fix help text ordering * Add back --set-session-authorization to pg_dumpall. Updated the docs for that. Updated help for that. * Dump ALTER USER commands for the cluster owner ("pgsql"). These are dumped AFTER the create user and create database commands in case the permissions to do these have been revoked. * Dump ALTER OWNER for public schema (because it's possible to change it). This was done by adding TOC entries for the public schema, and filtering them out at archiver time. I also save the owner in the TOC entry just for the public schema. * Suppress dumping single quotes around schema_path and DateStyle options when they are set using ALTER USER or ALTER DATABASE. Added a comment to the steps in guc.c to remind people to update that list. * Fix dumping in --clean mode against a pre-7.3 server. It just sets all drop statements to assume the public schema, allowing it to restore without error. * Cleaned up text output. eg. Don't output -- Tablespaces comment if there are none. Same for groups and users. * Make the commands to DELETE FROM pg_shadow and DELETE FROM pg_group only be output when -c mode is enabled. I'm not sure why that hasn't been done before?!?! This should be good for application asap, after which I will start on regression dumping 7.0-7.4 databases. Christopher Kings-Lynne
2004-07-17Fix broken markup, per Jonathan Gardner.Tom Lane
2004-07-15Add permission display to \db+.Bruce Momjian
2004-07-14Detect locale/encoding mismatch in initdb, or pick a suitable encodingPeter Eisentraut
automatically if none was specified.
2004-07-13Have \dn+ show permissions and description for schemas.Bruce Momjian
Dennis Bjorklund
2004-07-13Change pg_dump to use ALTER OWNER commands instead of SET SESSIONBruce Momjian
AUTHORIZATION commands by default. Move all GRANT and REVOKE commands to the end of the dump to avoid restore failures in several situations. Bring back --use-set-session-authorization option to get previous SET behaviour Christopher Kings-Lyne
2004-07-12Add tablespace location display for psql \d.Bruce Momjian
Gavin Sherry
2004-07-12Add has_tablespace_privilege().Bruce Momjian
Christopher Kings-Lynne
2004-07-12This patch adds the following options to pg_dumpall, to be passed toBruce Momjian
pg_dump: -S, --superuser=NAME -O, --no-owner -X disable-dollar-quoting, --disable-dollar-quoting -X disable-triggers, --disable-triggers Christopher Kings-Lynne
2004-07-12Remove TABLESPACE option of CREATE SEQUENCE; sequences will now alwaysTom Lane
live in database or schema's default tablespace, as per today's discussion. Also, remove some unused keywords from the grammar (PATH, PENDANT, VERSION), and fix ALSO, which was added as a keyword but not added to the keyword classification lists, thus making it worse-than-reserved.
2004-07-12Tablespace examples for CREATE TABLE/INDEX/SCHEMA/DATABASE as well asBruce Momjian
some other examples for CREATE DATABASE. Gavin Sherry
2004-07-11This patch fixes a small error in the Porting PL/SQL to PL/pgSQLBruce Momjian
section where a instr function parameter is mistyped as varchar. It works properly when changed to integer. Michael Glaesemann
2004-07-11Example for create function using argument namesBruce Momjian
Gavin Sherry
2004-07-11ALTER TABLE SET TABLESPACE. Gavin Sherry, some rework by Tom Lane.Tom Lane
2004-07-11Remove postgresql.conf of 'info' as a valid client_min_messages level.Bruce Momjian
2004-07-11Allow configuration files to be placed outside the data directory.Bruce Momjian
Add new postgresql.conf variables to point to data, pg_hba.conf, and pg_ident.conf files. Needs more documentation.
2004-07-10Clarify schema meanings in pg_dump manual page by referring to objectBruce Momjian
definitions more frequently.
2004-07-05Fix paragraph mention in ALTER DATABASE manual page.Bruce Momjian
Christopher Kings-Lynne
2004-07-04Fix misspellings: langauge -> language.Tom Lane
2004-07-04Okay, I've had it with answering newbie questions about why plpgsqlTom Lane
FOR loops are giving weird syntax errors. Restructure parsing of FOR loops so that the integer-loop-vs-query-loop decision is driven off the presence of '..' between IN and LOOP, rather than the presence of a matching record/row variable name. Hopefully this will make the behavior a bit more transparent.
2004-07-02Add missing operators of the form interval-plus-datetime, as required forTom Lane
better SQL compliance in this area, per recent discussion. Mark related operators as commutators where possible. (The system doesn't actually care about commutator marking for operators not returning boolean, at the moment, but this seems forward-thinking and besides it made it easier to verify that we hadn't missed any.) Also, remove interval-minus-time and interval-minus-timetz operators. I'm not sure how these got in, but they are nonstandard and had very obviously broken behavior. (minus is not commutative in anyone's book.) I doubt anyone had ever used 'em, because we'd surely have gotten a bug report about it if so.
2004-07-02Andreas Pflug wrote:Joe Conway
From an idea of Bruce, the attached patch implements the function pg_tablespace_databases(oid) RETURNS SETOF oid which delivers as set of database oids having objects in the selected tablespace, enabling an admin to examine only the databases affecting the tablespace for objects instead of scanning all of them. initdb forced
2004-06-29Override upstream DSSSL style sheet formatting changesPeter Eisentraut
2004-06-29Comma splice policePeter Eisentraut
2004-06-27Fix bogus line break within a file name, as noted by Alvaro.Tom Lane
2004-06-25Support renaming of tablespaces, and changing the owners ofTom Lane
aggregates, conversions, functions, operators, operator classes, schemas, types, and tablespaces. Fold the existing implementations of alter domain owner and alter database owner in with these. Christopher Kings-Lynne
2004-06-25Add pg_get_serial_sequence() function, and cause pg_dump to use it.Tom Lane
This eliminates the assumption that a serial column's sequence will have the same name on reload that it was given in the original database. Christopher Kings-Lynne
2004-06-25Add argument name to syntax.Dennis Bjorklund
2004-06-24Add documentation for pg_cancel_backend and pg_terminate_backend.Tom Lane
Magnus Hagander
2004-06-24Add --pwfile option to initdb, so that passwords can be set by GUI toolsTom Lane
that aren't able to feed the password to initdb's /dev/tty. Magnus Hagander
2004-06-21Rename the built-in tablespaces to pg_default and pg_global, and prohibitTom Lane
creation of user-defined tablespaces with names starting with 'pg_', as per suggestion of Chris K-L. Also install admin-guide tablespace documentation from Gavin.
2004-06-20Add pgevent, with docs explaining out to install it on Win32.Bruce Momjian
2004-06-18Replace createdb's obsolete --location switch with --tablespace.Tom Lane
I kept the same abbreviated letter -D, in hopes of maintaining some modicum of backwards compatibility (though it's doubtful whether anyone is really using scripts that invoke createdb -D ...)
2004-06-18initlocation is history. (It's still mentioned in manage-ag.sgml,Tom Lane
but I'll leave that file alone so as not to mess up the doc patch I trust Gavin is working on.)
2004-06-18Tablespaces. Alternate database locations are dead, long live tablespaces.Tom Lane
There are various things left to do: contrib dbsize and oid2name modules need work, and so does the documentation. Also someone should think about COMMENT ON TABLESPACE and maybe RENAME TABLESPACE. Also initlocation is dead, it just doesn't know it yet. Gavin Sherry and Tom Lane.
2004-06-17The attached patch adds some index entries pointing to the cursorBruce Momjian
reference pages. Please apply. Alvaro Herrera
2004-06-16Represent type-specific length coercion functions as pg_cast entries,Tom Lane
eliminating the former hard-wired convention about their names. Allow pg_cast entries to represent both type coercion and length coercion in a single step --- this is represented by a function that takes an extra typmod argument, just like a length coercion function. This nicely merges the type and length coercion mechanisms into something at least a little cleaner than we had before. Make use of the single- coercion-step behavior to fix integer-to-bit coercion so that coercing to bit(n) yields the rightmost n bits of the integer instead of the leftmost n bits. This should fix recurrent complaints about the odd behavior of this coercion. Clean up the documentation of the bit string functions, and try to put it where people might actually find it. Also, get rid of the unreliable heuristics in ruleutils.c about whether to display nested coercion steps; instead require parse_coerce.c to label them properly in the first place.
2004-06-14Fix doc bug: to_timestamp() returns timestamptz, not plain timestamp.Tom Lane
2004-06-13Code review for recently-added network functions. Get it to work whenTom Lane
log_hostname is enabled, clean up documentation.
2004-06-13Correct erroneous table title, per Halley Pacheco de Oliveira.Tom Lane
2004-06-12Some editorializing on 7.4.3 release notes.Tom Lane
2004-06-12Improve release wording.Bruce Momjian
2004-06-12Markup fix.Bruce Momjian
2004-06-12Fix markupBruce Momjian
2004-06-12Update release notes for 7.4.3.Bruce Momjian
2004-06-11When using extended-query protocol, postpone planning of unnamed statementsTom Lane
until Bind is received, so that actual parameter values are visible to the planner. Make use of the parameter values for estimation purposes (but don't fold them into the actual plan). This buys back most of the potential loss of plan quality that ensues from using out-of-line parameters instead of putting literal values right into the query text. This patch creates a notion of constant-folding expressions 'for estimation purposes only', in which case we can be more aggressive than the normal eval_const_expressions() logic can be. Right now the only difference in behavior is inserting bound values for Params, but it will be interesting to look at other possibilities. One that we've seen come up repeatedly is reducing now() and related functions to current values, so that queries like ... WHERE timestampcol > now() - '1 day' have some chance of being planned effectively. Oliver Jowett, with some kibitzing from Tom Lane.
2004-06-10Attached is a patch that takes care of the PATHSEP issue. I made a moreBruce Momjian
extensive change then what was suggested. I found the file path.c that contained a lot of "Unix/Windows" agnostic functions so I added a function there instead and removed the PATHSEP declaration in exec.c altogether. All to keep things from scattering all over the code. I also took the liberty of changing the name of the functions "first_path_sep" and "last_path_sep". Where I come from (and I'm apparently not alone given the former macro name PATHSEP), they should be called "first_dir_sep" and "last_dir_sep". The new function I introduced, that actually finds path separators, is now the "first_path_sep". The patch contains changes on all affected places of course. I also changed the documentation on dynamic_library_path to reflect the chagnes. Thomas Hallgren