Commit Graph

2932 Commits

Author SHA1 Message Date
Thomas G. Lockhart c05f29e895 Augment the date/time examples in the User's Guide to reflect the newer
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-21 19:02:39 +00:00
Thomas G. Lockhart b76b6f61b0 Minor wording change for readability. 2002-04-21 18:58:00 +00:00
Tom Lane b0bcf8aab2 Restructure AclItem representation so that we can have more than eight
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-21 00:26:44 +00:00
Tom Lane 6d6ca2166c Change naming rule for ON SELECT rules of views: they're all just
_RETURN now, since there's no need to keep 'em unique anymore.
2002-04-19 23:13:54 +00:00
Tom Lane 201737168c pg_trigger's index on tgrelid is replaced by a unique index on
(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-19 16:36:08 +00:00
Tom Lane b3120804ad Rule names are now unique per-relation, rather than unique globally.
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-18 20:01:11 +00:00
Bruce Momjian 4e08a625b0 Suggest another possible solution for funcs using temp tables:
< 	  without using PL/PgSQL EXECUTE, needs cached plan invalidation
> 	  without using PL/PgSQL EXECUTE, needs cache prevention/invalidation
2002-04-18 17:26:03 +00:00
Bruce Momjian 979be308d1 More neutral:
> 	o Abort all, some or, no SET changes made in an aborted transaction
2002-04-18 17:24:47 +00:00
Bruce Momjian 953287768e Update:
> 	o Abort all or commit all SET changes made in an aborted transaction
2002-04-18 14:32:36 +00:00
Bruce Momjian f8c77a089c Correct documention of lo_unlink return value as int, not Oid. 2002-04-18 14:28:14 +00:00
Bruce Momjian a44a0a4509 Update:
> 	o Allow Java server-side programming, http://pljava.sourceforge.net
> 	  [java]
2002-04-18 05:07:38 +00:00
Bruce Momjian bebe5acaf9 Add how to get database/user listing information. 2002-04-18 04:45:11 +00:00
Bruce Momjian cfa72faf96 Add user:
> * Rod is Rod Taylor <rbt@zort.ca>
2002-04-18 04:21:43 +00:00
Bruce Momjian 654fe4f998 Add to DROP COLUMN. 2002-04-18 04:17:41 +00:00
Bruce Momjian 69cd5efb23 Add to PREPARE archive. 2002-04-18 04:13:00 +00:00
Bruce Momjian b09f67bca1 Update for Neil:
> * Cache most recent query plan(s) (Neil) [prepare]
> * Neil is Neil Conway <nconway@klamath.dyndns.org>
2002-04-18 04:08:22 +00:00
Bruce Momjian bac714b72a Update for Oleg:
>   using a sequential scan for highest/lowest values (Oleg)
2002-04-18 04:07:04 +00:00
Bruce Momjian f1b7e8416a Add:
Add to DROP COLUMN description.
2002-04-18 04:02:10 +00:00
Bruce Momjian 54f91c9f8a Update:
> 	o Abort SET changes made in aborted transactions (?)
2002-04-18 03:59:46 +00:00
Bruce Momjian 3cd9399d86 Change docs to do 20! rather than larger. 2002-04-18 03:37:13 +00:00
Bruce Momjian af03e2edc9 Updated:
> * Add BETWEEN ASYMMETRIC/SYMMETRIC (Christopher)
> * Christopher is Christopher Kings-Lynne <chriskl@familyhealth.com.au>
2002-04-18 03:10:29 +00:00
Bruce Momjian 389ca3500d Add:
> * Add BSD-licensed qsort() for Solaris
2002-04-18 03:07:16 +00:00
Bruce Momjian 6abfa8c540 Add:
> 	o Allow SHOW to output as a query result, like EXPLAIN
2002-04-18 03:04:04 +00:00
Bruce Momjian b2ef38e883 Add mention of -DLINUX_PROFILE to profile mention. 2002-04-18 02:48:19 +00:00
Bruce Momjian afd8067213 Add:
> * Try flex flags -Cf and -CF to see if performance improves
2002-04-18 01:41:23 +00:00
Bruce Momjian ed20cdfc53 Add:
> * Add utility to compute accurate random_page_cost value
2002-04-17 21:52:57 +00:00
Tom Lane 27a54ae282 Opclasses live in namespaces. I also took the opportunity to create
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-17 20:57:57 +00:00
Bruce Momjian d85a81cbc3 Add:
> * Allow easy display of usernames in a group
2002-04-17 20:35:23 +00:00
Bruce Momjian d4963d7342 Add SQL92 document name. 2002-04-17 05:12:39 +00:00
Bruce Momjian bef0ea574c Update to point directly to ANSI store. 2002-04-17 05:10:09 +00:00
Bruce Momjian f417bbfb92 Add mention of standards documents. 2002-04-17 05:00:01 +00:00
Bruce Momjian ff200d9359 Add steps for typical patch. 2002-04-17 02:10:22 +00:00
Tom Lane 6cef5d2549 Operators live in namespaces. CREATE/DROP/COMMENT ON OPERATOR take
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-16 23:08:12 +00:00
Tom Lane b66cbc1fa2 Adjust rules for search_path so that pg_catalog is never implicitly
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-15 22:33:21 +00:00
Bruce Momjian c2f1e93aeb Update as completed:
> * -Allow oid to act as a foreign key
2002-04-15 20:52:12 +00:00
Bruce Momjian 31e179379a Add bitmap email to archive. 2002-04-14 17:32:37 +00:00
Peter Eisentraut 2e32eca8d0 Allow detection of collateindex.pl in stylesheet directory or in path,
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-14 17:23:20 +00:00
Bruce Momjian 08479bcbca Update;
> 	  without using PL/PgSQL EXECUTE, needs cached plan invalidation
2002-04-14 17:20:35 +00:00
Tatsuo Ishii 3cf2d9cc23 Fix broken SGML tag. 2002-04-14 01:31:37 +00:00
Tom Lane 291c875f23 Update/correct inheritance examples. 2002-04-13 17:17:29 +00:00
Bruce Momjian 6f2c0d47f8 This is a proposed patch to doc/src/sgml/libpgtcl.sgml which documents
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-13 01:42:44 +00:00
Bruce Momjian 673788c692 Add:
> * Change NUMERIC to enforce the maximum precision, and increase it
2002-04-13 01:37:54 +00:00
Bruce Momjian e916ad28c7 Mention precision of NUMERIC in docs. 2002-04-13 01:35:09 +00:00
Bruce Momjian 6c19d67d5f Add:
> * Change NUMERIC data type to use base 10,000 internally
2002-04-13 00:20:33 +00:00
Bruce Momjian 5129e1bde6 Update new Russian FAQ. 2002-04-12 09:17:10 +00:00
Bruce Momjian 50b5d4bf76 Add mention of function CREATE INDEX usage. 2002-04-11 23:20:04 +00:00
Tom Lane 902a6a0a4b Restructure representation of aggregate functions so that they have pg_proc
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-11 20:00:18 +00:00
Peter Eisentraut 5c1f31d2d4 Readline and Zlib now required by default. Add options --without-readline
and --without-zlib to turn them off.
2002-04-10 22:47:09 +00:00
Peter Eisentraut 563673e15d Add make install-strip target. 2002-04-10 16:45:25 +00:00
Bruce Momjian 7a48acbf3b Point to developers site, not my hostname. 2002-04-09 14:53:55 +00:00