Commit Graph

2897 Commits

Author SHA1 Message Date
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 (− or ∖): 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
Bruce Momjian
62e6eb9bf7 alter table doc cleanups.
Neil Conway
2002-03-06 20:42:38 +00:00
Bruce Momjian
01c76f7411 Ok. Updated patch attached.
- domain.patch -> source patch against pgsql in cvs
- drop_domain.sgml and create_domain.sgml -> New doc/src/sgml/ref docs

- dominfo.txt -> basic domain related queries I used for testing
[ ADDED TO /doc]

Enables domains of array elements -> CREATE DOMAIN dom int4[3][2];

Uses a typbasetype column to describe the origin of the domain.

Copies data to attnotnull rather than processing in execMain().

Some documentation differences from earlier.

If this is approved, I'll start working on pg_dump, and a \dD <domain>
option in psql, and regression tests.  I don't really feel like doing
those until the system table structure settles for pg_type.


CHECKS when added, will also be copied to to the table attributes.  FK
Constraints (if I ever figure out how) will be done similarly.  Both
will lbe handled by MergeDomainAttributes() which is called shortly
before MergeAttributes().

Rod Taylor
2002-03-06 20:35:02 +00:00
Bruce Momjian
ade0fe5cb4 Update docs for new stored procedure error levels. 2002-03-06 19:05:58 +00:00
Bruce Momjian
3c0d21a28e Update reference pages for new INFO, NOTICE, WARNING elog() levels. 2002-03-06 06:48:05 +00:00
Bruce Momjian
92b1ab75d4 Update docs for new INFO, NOTICE, WARNING elog() levels. 2002-03-06 06:44:33 +00:00
Bruce Momjian
22ebad9e39 Add name:
> * Improve concurrency of hash indexes (Neil Conway)
2002-03-06 03:37:16 +00:00
Bruce Momjian
afc732e610 Update FAQ. 2002-03-05 06:28:26 +00:00
Bruce Momjian
590102c20b This version has been synchonized with English version at Mar 03.
With best wishes,Victor Vislobokov
Perm, Russia
2002-03-05 06:20:51 +00:00
Bruce Momjian
7bf7b0bd75 This trivial patch fixes a typo and improves the phrasing of a sentence
in the docs.

Neil Conway
2002-03-05 06:14:45 +00:00
Bruce Momjian
a8bd7e1c6e > Tatsuo Ishii wrote:
> > > > It was made to cope with encoding such as an Asian bloc in 7.2Beta2.
> > > >
> > > > Added ServerEncoding
> > > >         Korean (JOHAB), Thai (WIN874),
> > > >         Vietnamese (TCVN), Arabic (WIN1256)
> > > >
> > > > Added ClientEncoding
> > > >         Simplified Chinese (GBK), Korean (UHC)
> > > >
> > > >
> > > >
> http://www.sankyo-unyu.co.jp/Pool/postgresql-7.2b2.newencoding.diff.tar.gz
> > > > (608K)
> > >
> > > Looks good.  I need some people to review this for me.
> >
> > For me they look good too. The only missing part is a
> > documentation. I will ask him to write it up. If he couldn't, I will
> > do it for him.
> > > The diff is 3mb
> > > but appears to address only additions to multibyte.  I have attached a
> > > list of files it modifies.  Also, look at the sizes of the mb/
> > > directory.  It is getting large:
> > >
> > >   4       ./CVS
> > >   6       ./Unicode/CVS
> > >   3433    ./Unicode
> > >   6197    .
> >
> > Yes. We definitely need the on-the-fly encoding addition capability:
> > i.e. CREATE CHRACTER SET in the future...
> > --
> > Tatsuo Ishii
> >
> >

Address chainge.

http://www.sankyo-unyu.co.jp/Pool/postgresql-7.2.newencoding.diff.gz

Add PsqlODBC and document ...etc patch.

Eiji Tokuya
2002-03-05 05:52:50 +00:00
Bruce Momjian
03194432de I attach a version of my toast-slicing patch, against current CVS
(current as of a few hours ago.)

This patch:

1. Adds PG_GETARG_xxx_P_SLICE() macros and associated support routines.

2. Adds routines in src/backend/access/tuptoaster.c for fetching only
necessary chunks of a toasted value. (Modelled on latest changes to
assume chunks are returned in order).

3. Amends text_substr and bytea_substr to use new methods. It now
handles multibyte cases -and should still lead to a performance
improvement in the multibyte case where the substring is near the
beginning of the string.

4. Added new command: ALTER TABLE tabname ALTER COLUMN colname SET
STORAGE {PLAIN | EXTERNAL | EXTENDED | MAIN} to parser and documented in
alter-table.sgml. (NB I used ColId as the item type for the storage
mode string, rather than a new production - I hope this makes sense!).
All this does is sets attstorage for the specified column.

4. AlterTableAlterColumnStatistics is now AlterTableAlterColumnFlags and
handles both statistics and storage (it uses the subtype code to
distinguish). The previous version of my patch also re-arranged other
code in backend/commands/command.c but I have dropped that from this
patch.(I plan to return to it separately).

5. Documented new macros (and also the PG_GETARG_xxx_P_COPY macros) in
xfunc.sgml. ref/alter_table.sgml also contains documentation for ALTER
COLUMN SET STORAGE.

John Gray
2002-03-05 05:33:31 +00:00
Bruce Momjian
bca7c57c79 Add:
> 	o allow replication over unreliable or non-persistent links
2002-03-05 03:32:11 +00:00
Bruce Momjian
25b0b09fd3 Add \timing patch to psql. Times all queries.
Greg Sabino Mullane
2002-03-05 00:01:03 +00:00
Bruce Momjian
294f0d4bd6 Add PQunescapeBytea libpq function.
Everyone using libpq and bytea is probably having to invent this wheel..

Patrick Welche
2002-03-04 23:59:14 +00:00
Bruce Momjian
b2aade0e4b Improve libpgeasy API for multiple result sets, add example. 2002-03-04 18:50:21 +00:00
Tom Lane
aa39e9a80c Update FAQ_Solaris with info about gcc 2.95.1 problems and how to work
around 64-bit vsnprintf bug.
2002-03-04 17:47:11 +00:00
Bruce Momjian
6488c9d12f Modify:
< * Add GUC parameter for eurodates
> * Add GUC parameter for DATESTYLE
2002-03-04 16:50:36 +00:00
Bruce Momjian
493d09802e Add:
> * Add GUC parameter for eurodates
2002-03-04 16:20:31 +00:00
Bruce Momjian
5ab02fd123 Update FAQ. 2002-03-03 18:35:46 +00:00
Bruce Momjian
592caa0897 Update FAQ. 2002-03-03 16:02:31 +00:00
Bruce Momjian
a033daf566 Commit to match discussed elog() changes. Only update is that LOG is
now just below FATAL in server_min_messages.  Added more text to
highlight ordering difference between it and client_min_messages.

---------------------------------------------------------------------------

REALLYFATAL => PANIC
STOP => PANIC
New INFO level the prints to client by default
New LOG level the prints to server log by default
Cause VACUUM information to print only to the client
NOTICE => INFO where purely information messages are sent
DEBUG => LOG for purely server status messages
DEBUG removed, kept as backward compatible
DEBUG5, DEBUG4, DEBUG3, DEBUG2, DEBUG1 added
DebugLvl removed in favor of new DEBUG[1-5] symbols
New server_min_messages GUC parameter with values:
        DEBUG[5-1], INFO, NOTICE, ERROR, LOG, FATAL, PANIC
New client_min_messages GUC parameter with values:
        DEBUG[5-1], LOG, INFO, NOTICE, ERROR, FATAL, PANIC
Server startup now logged with LOG instead of DEBUG
Remove debug_level GUC parameter
elog() numbers now start at 10
Add test to print error message if older elog() values are passed to elog()
Bootstrap mode now has a -d that requires an argument, like postmaster
2002-03-02 21:39:36 +00:00
Peter Eisentraut
1aac2c852a User and database-specific session defaults for run-time configuration
variables.  New commands ALTER DATABASE ... SET and ALTER USER ... SET.
2002-03-01 22:45:19 +00:00
Bruce Momjian
ed6986d3eb Revert quotes, 7.2 doesn't need them for CREATE FUNCTION. 2002-03-01 20:38:12 +00:00
Bruce Momjian
a7ac26b759 Oops, we didn't have single quotes around 'langname' in CREATE FUNCTION
manual page;  pointed out by IRC user.
2002-03-01 19:01:22 +00:00
Peter Eisentraut
36addaff3d Some cleanups in CREATE/ALTER/DROP USER ref pages. 2002-02-27 21:14:54 +00:00
Bruce Momjian
e22c9c4475 Update FAQ. 2002-02-27 04:52:19 +00:00
Tom Lane
f71dc6d0e2 Correct typo noticed by Christopher Kings-Lynne. 2002-02-26 15:59:08 +00:00
Bruce Momjian
7cfbbb2541 Added:
> * Remove memory/file descriptor freeing befor elog(ERROR)  (Bruce)
2002-02-25 20:30:19 +00:00
Bruce Momjian
c0cbb261df Update FAQ_DEV. 2002-02-25 20:29:39 +00:00
Bruce Momjian
2673547c9e Update FAQ. 2002-02-25 20:29:22 +00:00
Bruce Momjian
9694a41a57 Add items and JDBC maintainers:
> 	o Add LISTEN/NOTIFY support to the JDBC driver (Barry)
479a481
> * Barry is Barry Lind <barry@xythos.com>
482a485
> * Dave is Dave Cramer <dave@fastcrypt.com>
2002-02-25 18:48:54 +00:00
Bruce Momjian
73a947bd03 Update completed items:
> * -Prevent SIGHUP and 'pg_ctl reload' from changing command line
> * -Remove LIMIT #,# and force use LIMIT and OFFSET clauses in 7.3 (Bruce)
> * -Prevent create/drop scripts from allowing extra args (Bruce)
> * -Have pg_dump -C dump database location and encoding information
2002-02-25 06:23:54 +00:00
Bruce Momjian
e105f9a119 *** empty log message *** 2002-02-25 03:37:36 +00:00
Bruce Momjian
eb54314bb7 Re-add equals documentation with CREATE DATABASE. 2002-02-25 03:37:14 +00:00
Bruce Momjian
95ec9ff2f7 Remove documentation of equals in CREATE DATABASE. Mention removal of
equals hack for the future.
2002-02-25 02:53:46 +00:00
Tom Lane
e43e20cef1 Fix copy-and-paste typo. 2002-02-24 23:55:31 +00:00
Tom Lane
75e5e20d0e Add -O/--owner switch to createdb script, in support of new OWNER option
for CREATE DATABASE.
2002-02-24 23:27:58 +00:00
Tom Lane
a833c441fd Add OWNER option to CREATE DATABASE, so superusers can create databases
on behalf of unprivileged users.  Also, make '=' optional in CREATE
DATABASE syntax.  From Gavin Sherry, with kibitzing and docs by Tom Lane.
2002-02-24 20:20:21 +00:00
Bruce Momjian
7c115da703 Added:
> * Add checks for missing parameters to shell script, to prevent
>   over-shifting
2002-02-23 21:53:37 +00:00
Bruce Momjian
9b3a6b5ec3 Update FAQ_DEV. 2002-02-23 20:09:40 +00:00
Bruce Momjian
0a54b786d3 Add type conversion discussion. 2002-02-23 05:06:04 +00:00
Peter Eisentraut
42c3381fc7 Heimdal support (Kerberos V implementation from KTH) 2002-02-23 04:17:47 +00:00
Bruce Momjian
40bda4cbc4 Record for future use if we ever change the protocol:
> * Allow psql to show transaction status if backend protocol changes made
2002-02-22 16:21:21 +00:00
Bruce Momjian
68d835c550 Add Russian FAQ from Viktor Vislobokov. 2002-02-22 12:48:55 +00:00
Bruce Momjian
4633ee213d Modify:
> * Inline simple SQL functions to avoid overhead (Tom)
> * Precompile SQL functions to avoid overhead (Neil Conway)
2002-02-22 05:42:44 +00:00
Bruce Momjian
fb4c1c285f Added:
< * Inline simple SQL functions to avoid overhead (Tom)
> * Inline simple SQL functions to avoid overhead (Neil Conway)
2002-02-22 05:22:50 +00:00
Bruce Momjian
670547014d Add:
> * Inline simple SQL functions to avoid overhead (Tom)
2002-02-22 04:19:37 +00:00
Bruce Momjian
7364208ad2 Add NAMEDATALEN discussion.
<   first, breaks notify API;
>   first, breaks notify API;  [namedatalen]
2002-02-22 03:05:26 +00:00
Bruce Momjian
1149bb21a4 Add discussion. 2002-02-22 03:04:48 +00:00
Bruce Momjian
2ea01da59b Clarify:
< * Allow ability to easily build only certain interfaces (Marc)
> * Better document ability to build only certain interfaces (Marc)
2002-02-22 01:28:15 +00:00
Bruce Momjian
e0729ab565 Add:
> * Remove or relicense modules that are not under the BSD license, if possible
2002-02-22 00:12:07 +00:00
Bruce Momjian
581599b903 Improve wording of meaning of /contrib directory. 2002-02-22 00:10:11 +00:00
Bruce Momjian
5028e34f57 Update. 2002-02-21 22:58:11 +00:00
Bruce Momjian
926990b24b Update FAQ. 2002-02-21 22:56:16 +00:00
Bruce Momjian
e3e41a648d Small spacing cleanup. 2002-02-21 22:42:04 +00:00
Bruce Momjian
3a95427d42 Wrap some SQL syntax examples so \h shows them better. 2002-02-21 22:39:36 +00:00
Bruce Momjian
5d71160601 Add to replication discussion. 2002-02-21 22:30:22 +00:00
Bruce Momjian
5db2b6e11d Update FAQ. 2002-02-21 22:19:30 +00:00
Bruce Momjian
77d2aa0613 Update FAQ. 2002-02-21 20:15:00 +00:00
Bruce Momjian
7e1de695fe Update FAQ. 2002-02-21 20:13:39 +00:00
Bruce Momjian
170c6760e8 Marc, you get this one. :-) You are the expert on the item:
> * Allow ability to easily build only certain interfaces (Marc)
2002-02-21 05:10:49 +00:00
Bruce Momjian
8b9f293e7d Add:
> 	o Allow cursors outside transactions [cursor]
2002-02-20 03:50:33 +00:00
Bruce Momjian
9cfb55c55a Add cursors outside transactions thread. 2002-02-20 03:49:06 +00:00
Bruce Momjian
fe3045f5a9 Add savepoints discussion. 2002-02-20 00:44:30 +00:00
Bruce Momjian
6e73984d52 Add schema discussion. 2002-02-20 00:42:01 +00:00
Bruce Momjian
02f3a69571 Add:
> * Clarify use of 'application' and 'command' tags in SGML docs
2002-02-19 22:41:29 +00:00
Bruce Momjian
8a58c7f5bc Add:
> * Improve concurrency of hash indexes
> * Test hash index performance and recommend or discourage usage
2002-02-19 22:34:27 +00:00
Bruce Momjian
a2b4dbd4a7 Clearify:
> * Make single-user local access permissions the default by limiting
>   permissions on the socket file (Peter E)
2002-02-19 21:38:29 +00:00
Bruce Momjian
0e8c26eeca Added:
---
> * Improve caching of attribute offsets when NULLs exist in the row
2002-02-19 21:36:58 +00:00