Commit Graph

2873 Commits

Author SHA1 Message Date
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
Bruce Momjian
0519a1a1f7 Update as done:
> * -Cache system catalog information in per-database files (Tom)
2002-02-19 20:31:31 +00:00
Peter Eisentraut
8adf56f77a Privileges on functions and procedural languages 2002-02-18 23:11:58 +00:00
Peter Eisentraut
5e03503126 Set version to 7.3devel. 2002-02-18 21:46:17 +00:00
Bruce Momjian
04802852b6 Add:
> 	o Generate failure on short COPY lines rather than pad NULLs
2002-02-18 16:54:38 +00:00
Tom Lane
c89e0d9666 Minor copy-editing. 2002-02-18 16:13:10 +00:00
Bruce Momjian
fbcc0d69e8 Fix param handling of create* admin scripts as described months ago.
Properly handles default values.
2002-02-18 05:48:45 +00:00
Bruce Momjian
865d26fdd6 Update FAQ. 2002-02-18 05:09:01 +00:00
Bruce Momjian
14c1c33f3b Add Neil's Name:
> * Have pg_dump use ADD PRIMARY KEY after COPY, for performance (Neil Conway)
2002-02-18 03:40:13 +00:00
Bruce Momjian
aedc8a99d5 Add:
> * Have pg_dump use ADD PRIMARY KEY after COPY, for performance
2002-02-18 02:00:43 +00:00
Bruce Momjian
26d6e199d9 Added:
> * ODBC
> 	o ODBC 3.0 support
> 	o Unicode(UCS-2) support
> 	o Updatable cursors support
2002-02-18 01:17:16 +00:00
Bruce Momjian
62feef6c95 Fix SGML typo in previous patch. 2002-02-17 13:29:00 +00:00
Bruce Momjian
bf4507e3af I think it's important that it's actually documented that they can add
primary keys after the fact!

Also, we need to add regression tests for alter table / add primary key
and alter table / drop constraint.  These shouldn't be added until 7.3
tho
methinks...

Chris
2002-02-17 11:50:09 +00:00
Bruce Momjian
a966ac1df0 Clarify params to ALTER TABLE to clearly show single parameters.
e.g. table contraint definition -> table_constraint_definition.
2002-02-16 23:45:48 +00:00
Bruce Momjian
ceec779ab5 Update FAQ. 2002-02-14 17:15:00 +00:00
Tom Lane
1392042346 Point out that --adduser actually makes the new user a superuser. This
was mentioned on the man page for the underlying CREATE USER command,
but it should be explained here too.
2002-02-13 19:32:17 +00:00
Bruce Momjian
a164407b64 Add DROP COLUMN status from Hiroshi. 2002-02-13 14:36:43 +00:00
Tom Lane
baa0bb97b0 Add warning not to use /usr/ucb/cc on Solaris. 2002-02-12 22:35:07 +00:00
Bruce Momjian
28108b391b Fix tutorial for references problem, from rainer.tammer@spg.schulergroup.com 2002-02-12 22:25:15 +00:00
Bruce Momjian
fa8a73caad Clarify working in 'top x items using sequential scan' item 2002-02-12 22:24:36 +00:00
Tom Lane
9832a235c5 Modify COPY TO to emit carriage returns and newlines as backslash escapes
(backslash-r, backslash-n) for protection against newline-conversion
munging.  In future we will also tweak COPY FROM, but this part of the
change should be backwards-compatible.  Per pghackers discussion.
Also, update COPY reference page to describe the backslash conversions
more completely and accurately.
2002-02-12 21:25:41 +00:00
Bruce Momjian
c16ef167df Update FAQ. 2002-02-12 17:18:10 +00:00
Bruce Momjian
d39a369912 Update FAQ. 2002-02-12 17:14:55 +00:00
Bruce Momjian
0ae55405de Update wal files computation documentation. 2002-02-11 23:25:14 +00:00
Bruce Momjian
0cdf4d96bc Fix typo.
< 	o prevent lose of indexes, permissions, inheritance (Bruce)
---
> 	o prevent loss of indexes, permissions, inheritance (Bruce)
2002-02-11 18:14:56 +00:00