summaryrefslogtreecommitdiff
path: root/doc/src/sgml
AgeCommit message (Collapse)Author
2002-05-13AVG probably shouldn't be upper case here, consideringTom Lane
that we don't upcase the others.
2002-05-13Make operators have their own comments separate from those of theTom Lane
underlying function; but cause psql's \do to show the underlying function's comment if the operator has no comment of its own, to preserve the useful functionality of the original behavior. Also, implement COMMENT ON SCHEMA. Patch from Rod Taylor.
2002-05-11Update for additional options in CREATE OPERATOR.Tom Lane
2002-05-10First pass at schema-fying pg_dump/pg_restore. Much to do still,Tom Lane
but the basic capability seems to work.
2002-05-09Make initdb print a message about which locale it is about to use.Peter Eisentraut
Re-add warning if the locale prevents LIKE-optimization. Done within initdb now.
2002-05-06Accept SET SESSION AUTHORIZATION DEFAULT and RESET SESSION AUTHORIZATIONTom Lane
to reset session userid to the originally-authenticated name. Also, relax SET SESSION AUTHORIZATION to allow specifying one's own username even if one is not superuser, so as to avoid unnecessary error messages when loading a pg_dump file that uses this command. Per discussion from several months ago.
2002-05-03Remove the last traces of datatypes datetime and timespan.Tom Lane
2002-04-30Clean up loose ends remaining from schema privileges discussion.Tom Lane
I concluded that RENAME should require CREATE privilege on the namespace as well as ownership of the table.
2002-04-29Enforce EXECUTE privilege for aggregate functions.Tom Lane
2002-04-26Add current_schema() and current_schemas() inquiry functions.Tom Lane
Update has_table_privilege functions to cope with schema-qualified names in the same way as nextval() and others.
2002-04-25Add a reference page for CREATE SCHEMA.Tom Lane
2002-04-25Updates for schema features.Tom Lane
2002-04-25Implement types regprocedure, regoper, regoperator, regclass, regtypeTom Lane
per pghackers discussion. Add some more typsanity tests, and clean up some problems exposed thereby (broken or missing array types for some built-in types). Also, clean up loose ends from unknownin/out patch.
2002-04-24Add missing SGML file.Bruce Momjian
2002-04-24Here's a doc patch for ALTER TRIGGER RENAME. Please apply if there areBruce Momjian
no objections. Joe Conway
2002-04-24Oops, wrong commit on previous. It was:Bruce Momjian
The attached patch allows views to have default values. You can't specify a default value within a CREATE VIEW statement, it must be done using ALTER TABLE ... ALTER COLUMN ... SET DEFAULT after the view has already been created. Most of the hard work was done by Tom Lane, I just patched pg_dump and updated the documentation. Neil Conway <neilconway@rogers.com>
2002-04-24Appears I forgot to update the docs earlier.Bruce Momjian
Please note I have no way to test this. Docbook doesn't like my cygwin setup. -- Rod Taylor
2002-04-23Update SQL-command reference pages for schema features.Tom Lane
2002-04-22Update GRANT example and discussion to match current sources.Tom Lane
2002-04-21Augment the date/time examples in the User's Guide to reflect the newerThomas G. Lockhart
capabilities of specifying time zones as intervals per SQL9x. Put refentrytitle contents on the same line as the tag. Otherwise, leading whitespace is propagated into the product, which (at least) messes up the ToC layout. Remove (some) docinfo tags containing dates. Best to omit if the dates are not accurate; maybe use CVS dates instead or leave them out.
2002-04-21Minor wording change for readability.Thomas G. Lockhart
2002-04-21Restructure AclItem representation so that we can have more than eightTom Lane
different privilege bits (might as well make use of the space we were wasting on padding). EXECUTE and USAGE bits for procedures, languages now are separate privileges instead of being overlaid on SELECT. Add privileges for namespaces and databases. The GRANT and REVOKE commands work for these object types, but we don't actually enforce the privileges yet...
2002-04-19Change naming rule for ON SELECT rules of views: they're all justTom Lane
_RETURN now, since there's no need to keep 'em unique anymore.
2002-04-19pg_trigger's index on tgrelid is replaced by a unique index onTom Lane
(tgrelid, tgname). This provides an additional check on trigger name uniqueness per-table (which was already enforced by the code anyway). With this change, RelationBuildTriggers will read the triggers in order by tgname, since it's scanning using this index. Since a predictable trigger ordering has been requested for some time, document this behavior as a feature. Also document that rules fire in name order, since yesterday's changes to pg_rewrite indexing cause that too.
2002-04-18Rule names are now unique per-relation, rather than unique globally.Tom Lane
DROP RULE and COMMENT ON RULE syntax adds an 'ON tablename' clause, similar to TRIGGER syntaxes. To allow loading of existing pg_dump files containing COMMENT ON RULE, the COMMENT code will still accept the old syntax --- but only if the target rulename is unique across the whole database.
2002-04-18Correct documention of lo_unlink return value as int, not Oid.Bruce Momjian
2002-04-18Change docs to do 20! rather than larger.Bruce Momjian
2002-04-17Opclasses live in namespaces. I also took the opportunity to createTom Lane
an 'opclass owner' column in pg_opclass. Nothing is done with it at present, but since there are plans to invent a CREATE OPERATOR CLASS command soon, we'll probably want DROP OPERATOR CLASS too, which suggests that a notion of ownership would be a good idea.
2002-04-16Operators live in namespaces. CREATE/DROP/COMMENT ON OPERATOR takeTom Lane
qualified operator names directly, for example CREATE OPERATOR myschema.+ ( ... ). To qualify an operator name in an expression you need to write OPERATOR(myschema.+) (thanks to Peter for suggesting an escape hatch). I also took advantage of having to reformat pg_operator to fix something that'd been bugging me for a while: mergejoinable operators should have explicit links to the associated cross-data-type comparison operators, rather than hardwiring an assumption that they are named < and >.
2002-04-15Adjust rules for search_path so that pg_catalog is never implicitlyTom Lane
selected as the creation target namespace; to make that happen, you must explicitly set search_path that way. This makes initdb a hair more complex but seems like a good safety feature.
2002-04-14Allow detection of collateindex.pl in stylesheet directory or in path,Peter Eisentraut
which covers some recent installation schemes. Add Mandrake installation layout to directories to check for stylesheets. Allow documentation build to proceed if stylesheets were not found, in case the stylesheets might be found through the SGML catalog mechanism.
2002-04-14Fix broken SGML tag.Tatsuo Ishii
2002-04-13Update/correct inheritance examples.Tom Lane
2002-04-13This is a proposed patch to doc/src/sgml/libpgtcl.sgml which documentsBruce Momjian
the libpgtcl "pg_execute" command. This was mentioned on pgsql-interfaces on Mar 3. I am posting it here in the hope that someone will check to see if it makes sense and is correct SGML-wise. I did run it through jade, but this is my first try at this sort of thing. ljb
2002-04-13Mention precision of NUMERIC in docs.Bruce Momjian
2002-04-11Add mention of function CREATE INDEX usage.Bruce Momjian
2002-04-11Restructure representation of aggregate functions so that they have pg_procTom Lane
entries, per pghackers discussion. This fixes aggregates to live in namespaces, and also simplifies/speeds up lookup in parse_func.c. Also, add a 'proimplicit' flag to pg_proc that controls whether a type coercion function may be invoked implicitly, or only explicitly. The current settings of these flags are more permissive than I would like, but we will need to debate and refine the behavior; for now, I avoided breaking regression tests as much as I could.
2002-04-10Readline and Zlib now required by default. Add options --without-readlinePeter Eisentraut
and --without-zlib to turn them off.
2002-04-10Add make install-strip target.Peter Eisentraut
2002-04-09More cleanups of cursor text.Bruce Momjian
2002-04-09Fix markup problem with recent change.Bruce Momjian
2002-04-09Update refcursor documentation with examples of how to return pl/pgsqlBruce Momjian
refcursors.
2002-04-09Fix SGML markup problem.Bruce Momjian
2002-04-08DST-transition-sensitive tests seem to be in horology now, notTom Lane
timestamp.
2002-04-05Divide functions into three volatility classes (immutable, stable, andTom Lane
volatile), rather than the old cachable/noncachable distinction. This allows indexscan optimizations in many places where we formerly didn't. Also, add a pronamespace column to pg_proc (it doesn't do anything yet, however).
2002-04-04Authentication improvements:Bruce Momjian
A new pg_hba.conf column, USER Allow specifiction of lists of users separated by commas Allow group names specified by + Allow include files containing lists of users specified by @ Allow lists of databases, and database files Allow samegroup in database column to match group name matching dbname Removal of secondary password files Remove pg_passwd utility Lots of code cleanup in user.c and hba.c New data/global/pg_pwd format New data/global/pg_group file
2002-04-03Locale support is on by default. The choice of locale is done in initdbPeter Eisentraut
and/or with GUC variables.
2002-04-01Add tgconstrrelid to stored Trigger structures, make RI trigger functionsTom Lane
depend on this rather than the trigger argument strings to locate the other relation to test. This makes RI triggers function properly in the presence of schemas and temp tables. Along the way, fix bogus lack of locking in RI triggers, handle quoting of names fully correctly, compute required sizes of query buffers with some semblance of accuracy.
2002-04-01ALTER TABLE SET/DROP NOT NULL, from Christopher Kings-Lynne.Tom Lane
2002-04-01Create a new GUC variable search_path to control the namespace searchTom Lane
path. The default behavior if no per-user schemas are created is that all users share a 'public' namespace, thus providing behavior backwards compatible with 7.2 and earlier releases. Probably the semantics and default setting will need to be fine-tuned, but this is a start.