Commit Graph

2966 Commits

Author SHA1 Message Date
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
Bruce Momjian fa9ee5d9ee Update FAQ. 2002-04-09 14:22:34 +00:00
Bruce Momjian 68747b4601 Update:
>         o Fix PL/pgSQL RENAME to work on variables other than OLD/NEW
2002-04-09 13:46:55 +00:00
Bruce Momjian b71189c243 Remove TODO.detail domain file. 2002-04-09 04:28:48 +00:00
Bruce Momjian 6d0a070b73 Remove TODO.detail domain file:
< * -Add domain capability [domain] (Rod Taylor)
> * -Add domain capability (Rod Taylor)
2002-04-09 04:28:17 +00:00
Bruce Momjian 20f8aab215 Added:
> * Add Intimate Shared Memory(ISM) for Solaris
> * Add documentation to lock shared memory into RAM for each OS, if possible
2002-04-09 04:14:47 +00:00
Bruce Momjian eb953c3200 Add:
> 	o Fix PL/pgSQL RENAME to work on on variable names
2002-04-09 03:56:08 +00:00
Bruce Momjian 2aeebfc64e Update FAQ. 2002-04-09 03:22:11 +00:00
Bruce Momjian 0325149a53 More cleanups of cursor text. 2002-04-09 03:08:25 +00:00
Bruce Momjian 0a3ccafffe Fix markup problem with recent change. 2002-04-09 02:43:25 +00:00
Bruce Momjian 663aabaa6e Update refcursor documentation with examples of how to return pl/pgsql
refcursors.
2002-04-09 02:31:58 +00:00
Bruce Momjian 308d50cdea Fix SGML markup problem. 2002-04-09 00:38:24 +00:00
Tom Lane 1dc789bac5 DST-transition-sensitive tests seem to be in horology now, not
timestamp.
2002-04-08 04:37:36 +00:00
Bruce Momjian 1dd58c61f7 Add:
> * Abort SET changes made in aborted transactions
2002-04-07 01:59:17 +00:00
Bruce Momjian 707cf12f1b Update Japanese FAQ.
Jun Kuwamura
2002-04-06 03:39:50 +00:00
Bruce Momjian 00f4a7d3c3 Mark as done:
> 	o -Allow INSERT INTO my_table VALUES (a, b, c, DEFAULT, x, y, z, ...)
2002-04-05 11:57:32 +00:00
Bruce Momjian c9d70e2608 Mark as done:
> * -Add new pg_proc cachable settings to specify whether function can be
2002-04-05 03:06:10 +00:00
Tom Lane 4bdb4be62e Divide functions into three volatility classes (immutable, stable, and
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-05 00:31:36 +00:00
Bruce Momjian 010d1af3ec Duplicate removed:
< 	o Allow cursors to be DECLAREd/OPENed/CLOSEed outside transactions
2002-04-04 07:12:36 +00:00
Bruce Momjian 947e954745 Mark as done:
* -Allow user/group names to be specified directly in pg_hba.conf (Bruce)
2002-04-04 07:03:55 +00:00
Bruce Momjian 43a3543a4e Authentication improvements:
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-04 04:25:54 +00:00
Peter Eisentraut 867901db9e Locale support is on by default. The choice of locale is done in initdb
and/or with GUC variables.
2002-04-03 05:39:33 +00:00
Tom Lane 789ddcb5fe Add tgconstrrelid to stored Trigger structures, make RI trigger functions
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-01 22:36:13 +00:00
Bruce Momjian 64839d9425 Update for SET/DROP NOT NULL. 2002-04-01 14:12:23 +00:00
Tom Lane 9b77f61930 ALTER TABLE SET/DROP NOT NULL, from Christopher Kings-Lynne. 2002-04-01 04:35:40 +00:00
Tom Lane 838fe25a95 Create a new GUC variable search_path to control the namespace search
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.
2002-04-01 03:34:27 +00:00
Bruce Momjian b5030d33f3 Oops, not sure these are done.
> * Remove unreferenced table files and temp tables during database vacuum
> * Allow psql \d to show temporary table structure
2002-04-01 01:56:38 +00:00
Bruce Momjian 60dcf1c817 Fixed now, I think:
> * -Remove unreferenced table files and temp tables during database vacuum
> * -Allow psql \d to show temporary table structure
2002-03-31 12:56:16 +00:00
Tom Lane d5e99ab4d6 pg_type has a typnamespace column; system now supports creating types
in different namespaces.  Also, cleanup work on relation namespace
support: drop, alter, rename commands work for tables in non-default
namespaces.
2002-03-29 19:06:29 +00:00
Peter Eisentraut e6774dc355 Don't mark up as acronym that which is not an acronym. 2002-03-27 19:19:23 +00:00
Peter Eisentraut e68eb63e8c Improve spelling of lock names, and some other editing. 2002-03-27 02:36:51 +00:00
Tom Lane 1dbf8aa7a8 pg_class has a relnamespace column. You can create and access tables
in schemas other than the system namespace; however, there's no search
path yet, and not all operations work yet on tables outside the system
namespace.
2002-03-26 19:17:02 +00:00
Bruce Momjian eb32be62d4 New wording:
Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/PgSQL (Tom)
2002-03-25 21:24:08 +00:00
Bruce Momjian 7fe9e19842 Add to HISTORY:
Allow CREATE TABLE AS ... SELECT in PL/PgSQL (Tom)
2002-03-25 20:58:05 +00:00
Bruce Momjian fa99f94de7 Update for temp views:
< * Automatically make a view temporary if it uses a temporary table
> * Require view using temporary tables to be temporary views
2002-03-25 20:56:08 +00:00
Bruce Momjian 0441ce5e9f Add:
> 	o Fix problems with complex temporary table creation/destruction
> 	  without using PL/PgSQL EXECUTE
2002-03-25 03:37:01 +00:00
Bruce Momjian 918feb61d6 Add:
> * Automatically make a view temporary if it uses a temporary table
2002-03-24 22:37:20 +00:00
Tom Lane ea10ec1b69 Tweak labeling of plan qual conditions for more consistency. 2002-03-24 17:11:37 +00:00
Tom Lane 7100cbc1c4 Fix cut-and-paste-o. 2002-03-24 16:57:29 +00:00
Tom Lane 10d3995057 EXPLAIN output now comes out as a query result, not a NOTICE message.
Also, fix debug logging of parse/plan trees so that the messages actually
go through elog(), not directly to stdout.
2002-03-24 04:31:09 +00:00
Tom Lane a25b94c080 Create the pg_namespace system catalog. Doesn't do much yet, but it's
there and CREATE SCHEMA will make entries in it...
2002-03-22 21:34:44 +00:00
Peter Eisentraut b6ea172ace Spell checking and markup additions 2002-03-22 19:20:45 +00:00
Tom Lane 95ef6a3448 First phase of SCHEMA changes, concentrating on fixing the grammar and
the parsetree representation.  As yet we don't *do* anything with schema
names, just drop 'em on the floor; but you can enter schema-compatible
command syntax, and there's even a primitive CREATE SCHEMA command.
No doc updates yet, except to note that you can now extract a field
from a function-returning-row's result with (foo(...)).fieldname.
2002-03-21 16:02:16 +00:00
Tom Lane 337b22cb47 Code review for DOMAIN patch. 2002-03-20 19:45:13 +00:00
Tom Lane f1f222843e Put back development status section overwritten by Bruce. 2002-03-19 18:53:01 +00:00
Bruce Momjian 14d542bc67 > > Users of contrib/tsearch needs after upgrading of module (compiling, installing)
> > to perform sql command:
> >  update pg_amop set amopreqcheck = true where amopclaid =
> >       (select oid from pg_opclass where opcname = 'gist_txtidx_ops');
>
> Oleg, sorry, I don't understand where this should appear.  In the README
> file, and if so, where?  Is this something only for people upgrading
> from 7.2?

Sorry Bruce, I was unclear. I have attached patch to Readme.tsearch
Also, It'd be worth to mention in Changes to point users of tsearch
about importang upgrade notices.

Oleg Bartunov
2002-03-19 14:15:55 +00:00
Bruce Momjian bc2b786af0 Add
> * -Add domain capability [domain] (Rod Taylor)
2002-03-19 03:05:38 +00:00
Bruce Momjian a7ade2bb6b Add psql \dD listing of domains, from Jonathan Eisler. 2002-03-19 02:32:21 +00:00
Bruce Momjian d3788c3305 Add DOMAIN support. Includes manual pages and regression tests, from
Rod Taylor.
2002-03-19 02:18:25 +00:00
Bruce Momjian 367856d912 Improve wording of bug fix:
Ensure that sequence counters do not go backwards after a crash
2002-03-19 00:12:09 +00:00
Bruce Momjian 658371fe9f Update for 7.2.1. 2002-03-18 23:03:13 +00:00
Bruce Momjian b6cb03c7ce Update FAQ. 2002-03-18 19:35:10 +00:00
Tom Lane 8a25ec84e1 Improve documentation about array I/O representation. 2002-03-17 19:59:57 +00:00
Bruce Momjian 0b73fe14f1 Back out EXCEPT/DIFFERENCE patch. Seems I forgot the details of this. 2002-03-15 16:16:31 +00:00
Bruce Momjian 5c1dc0280e Fix for docs from Patrick Welche:
! 	DIFFERENCE (&minus; or &setmn;): builds the set difference of
  	two tables. Let <classname>R</classname> and
<classname>S</classname>
again be two tables with the same
  	arity. <classname>R</classname> - <classname>S</classname>
--- 488,494 ----

        <listitem>
        <para>
! 	EXCEPT (&minus; or &setmn;): builds the set difference of
2002-03-15 15:55:58 +00:00
Bruce Momjian 0d2842468c Mention time() and interval() are also changed in 7.2. 2002-03-11 16:41:44 +00:00
Peter Eisentraut d0d3ab5325 Fix markup 2002-03-11 05:03:52 +00:00
Peter Eisentraut 414550f438 Uppercase class selectors, to work with browsers that follow the standards. 2002-03-11 05:02:04 +00:00
Bruce Momjian a9f268dcb3 Update and remove items:
< * Remove brackets as multi-statement rule grouping, must use parens (Bruce)
> * -Remove brackets as multi-statement rule grouping, must use parens (Bruce)
458d457
< * Remove USING clause from pg_get_indexdef() if index is btree (Bruce)
2002-03-10 06:12:23 +00:00
Bruce Momjian ee27436f6c Disable brackets in multi-statement rules, as discussed. 2002-03-10 06:00:15 +00:00
Bruce Momjian fdcb8516d4 Wording improvements to runtime.sgml. Add mention in postgresql.conf
file that SIGHUP or "pg_ctl reload" are required for changes to take
affect on a running server.
2002-03-09 05:11:38 +00:00
Bruce Momjian 54f4136aca Remove async TODO.detail file. 2002-03-08 04:34:37 +00:00
Bruce Momjian 405e0c9aac Update TODO items that are completed. 2002-03-08 04:33:53 +00:00
Bruce Momjian ee81126d1f TODO item done:
* Change FIXED_CHAR_SEL to 0.20 from 0.04 to give better selectivity (Bruce)
2002-03-08 04:29:01 +00:00
Bruce Momjian fd6b9f04a7 Mark as done:
> * -Change DEBUG startup tag to LOG (Bruce)
2002-03-08 04:03:32 +00:00
Bruce Momjian 3239793e0d Add
> * Prevent aggregates from being used in rule WHERE clauses
2002-03-08 01:31:19 +00:00
Bruce Momjian b976b8af80 Back out domain patch until it works properly. 2002-03-07 16:35:41 +00:00