Commit Graph

4222 Commits

Author SHA1 Message Date
Bruce Momjian dfafeb6a89 Update Solaris FAQ to mention -fast. 2003-10-09 17:11:13 +00:00
Bruce Momjian b510c44202 Update:
> * COMMENT ON [ CAST | CONVERSION | OPERATOR CLASS | LARGE OBJECT | LANGUAGE ]
>   (Christopher)
2003-10-09 04:29:40 +00:00
Bruce Momjian c1a0d72da6 Add:
> * COMMENT ON [ CAST | CONVERSION | OPERATOR CLASS | LARGE OBJECT ] (Christopher)
2003-10-09 03:17:24 +00:00
Bruce Momjian 67afe3d861 Add:
<
346a346
> * Remove CREATE CONSTRAINT TRIGGER
2003-10-08 22:29:58 +00:00
Bruce Momjian 5fc9d0e3f6 Add 2-phase info, add Win32 URL:
< 	o Sample implementation in contrib/rserv
29c28,29
< * Create native Win32 port [win32]
> * Create native Win32 port, http://momjian.postgresql.org/main/writings/pgsql/win32.html
>
367c367,368
< * Two-phase commit to implement distributed transactions
> * Add two-phase commit to all distributed transactions with
>   offline/readonly server status or administrator notification for failure
2003-10-08 21:44:06 +00:00
Bruce Momjian d5ea0d5ecb Add:
> * Use background process to write dirty shared buffers to disk
2003-10-08 19:33:53 +00:00
Bruce Momjian b8382c2688 Have log_min_duration_statement = 0 always print duration/statement.
Change log line to be "duration:  ms  query:"

Indent multi-line queries with a tab in the server logs.
2003-10-08 03:49:38 +00:00
Tom Lane 0eceaaf9b7 Modify COPY FROM to match the null-value string against the column value
before it is de-backslashed, not after.  This allows the null string \N
to be reliably distinguished from the data value \N (which must be
represented as \\N).  Per bug report from Manfred Koizar ... but it's
amazing this hasn't been reported before ...
Also, be consistent about encoding conversion for null string: the form
specified in the command is in the server encoding, but what is sent
to/from client must be in client encoding.  This never worked quite
right before either.
2003-10-06 02:38:53 +00:00
Bruce Momjian 8f3b879462 Update MySQL mention. 2003-10-05 14:25:29 +00:00
Bruce Momjian 88605109db Update MySQL mention. 2003-10-05 03:52:08 +00:00
Tom Lane fa09ee6026 Document the always-true-but-previously-undocumented fact that PQfnumber()
will downcase the supplied field name unless it is double-quoted.  Also,
upgrade the routine's handling of double quotes to match the backend,
in particular support doubled double quotes within quoted identifiers.
Per pgsql-interfaces discussion a couple weeks ago.
2003-10-04 21:05:21 +00:00
Bruce Momjian ec1fbbb546 Modify:
< * Consider using MVCC to cache count(*) queries with no WHERE clause
> * Use a fixed row count and a +/- count with MVCC visibility rules
>   to allow fast COUNT(*) queries with no WHERE clause(?)
2003-10-04 18:19:57 +00:00
Bruce Momjian 5ba1fab5fa Update INSTALL file for 7.4. 2003-10-04 03:14:13 +00:00
Bruce Momjian 7ca44855fc Update MySQL mention. 2003-10-04 02:37:05 +00:00
Bruce Momjian 5f0eb3fd83 Update MySQL mention. 2003-10-04 01:39:51 +00:00
Peter Eisentraut 9951474c71 Change transaction status indicator in prompt from %T to %x. 2003-10-04 01:04:46 +00:00
Tom Lane 15c194c1d5 Add GUC parameter check_function_bodies to control whether validation
of function bodies is done at CREATE FUNCTION time.  This is normally
true but can be set false to avoid problems with forward references,
wrong schema search path, etc.  This is just the backend patch, still
need to adjust pg_dump to make use of it.
2003-10-03 19:26:49 +00:00
Tom Lane 251033186f Cause PQescapeString to stop processing at a null character, rather
than generating an invalid output string.  Per observation and patch
from Igor Shevchenko.  Further code cleanup and documentation by
Tom Lane.
2003-10-03 18:26:14 +00:00
Tom Lane 6099bc03f3 Adjust documentation examples to match recent error message rewordings.
A couple other minor fixes.
2003-09-30 03:22:33 +00:00
Tom Lane 444af9e0e8 Minor copy-editing. 2003-09-30 01:56:11 +00:00
Tom Lane f038e08929 Use slightly less broken markup. 2003-09-30 01:26:29 +00:00
Tom Lane e33f205a94 Adjust btree index build procedure so that the btree metapage looks
invalid (has the wrong magic number) until the build is entirely
complete.  This turns out to cost no additional writes in the normal
case, since we were rewriting the metapage at the end of the process
anyway.  In normal scenarios there's no real gain in security, because
a failed index build would roll back the transaction leaving an unused
index file, but for rebuilding shared system indexes this seems to add
some useful protection.
2003-09-29 23:40:26 +00:00
Bruce Momjian 7bc0678e0b Remove, already done:
< 	o Fixed PL/Tcl's spi_prepare to accept full qualified type names in
< 	  the parameter type list
2003-09-29 21:41:29 +00:00
Bruce Momjian fb72fc8b80 Add:
> 	o Fixed PL/Tcl's spi_prepare to accept full qualified type names in
> 	  the parameter type list
2003-09-29 21:15:19 +00:00
Bruce Momjian f3db606592 > >
> >  a) Write documentation how the win32 console needs to be set up so that
> >     psql can handle 8-bit characters.
> >     Where should it be added? The Section "Installation on Windows" in the
> >     Administrator's Guide seems natural to me.
> >
> >  b) Add code to psql that prints a warning on startup of psql when the
> >     console codepage differs from the windows codepage, something like
> >
> >     Warning: Console codepage (850) differs from windows codepage (1252)
> >              8-bit characters will not work correctly. See PostgreSQL
> >              documentation "Installation on Windows" for details.
>
Attached are two patches:

 - installdoc.patch contains an additional paragraph on the win32 console
   codepage for the chapter "Installation on Windows"
   Due to a lack of SGML-tools, I have only edited the text and not tested
   the SGML code - please check it before merging into the CVS branch.

 - psqlcodepage.patch adds the warning about a problematic codepage to psql.


Christoph Dalitz
2003-09-29 18:21:33 +00:00
Bruce Momjian a17b53753e This patch makes a few incremental improvements to geqo.sgml and
arch-dev.sgml

Neil Conway
2003-09-29 18:18:35 +00:00
Bruce Momjian b8d7e1e798 Change 7.3.4 release note format to match the rest of the 7.3.x
releases.

Rod Taylor
2003-09-29 18:15:12 +00:00
Bruce Momjian e7a9ba4872 Add:
> * Have SHOW ALL and pg_settings show descriptions for server-side variables(Joe)
2003-09-29 16:52:14 +00:00
Bruce Momjian 3900f8368d Update docs on function call permissions in view, from Tom. 2003-09-28 01:19:33 +00:00
Bruce Momjian fae2adecf5 Small SGML cleanup from Jeroen Ruigrok/asmodai 2003-09-27 14:06:21 +00:00
Bruce Momjian 87cbcff9e6 Document that functions are checked independently of the view
permissions.
2003-09-27 00:10:31 +00:00
Bruce Momjian 90322456fe Add "tuning" section to install instructions. 2003-09-26 17:47:44 +00:00
Bruce Momjian 42013caf64 Update Japanese FAQ, from Jun Kuwamura 2003-09-25 02:27:54 +00:00
Tom Lane a56a016ceb Repair some REINDEX problems per recent discussions. The relcache is
now able to cope with assigning new relfilenode values to nailed-in-cache
indexes, so they can be reindexed using the fully crash-safe method.  This
leaves only shared system indexes as special cases.  Remove the 'index
deactivation' code, since it provides no useful protection in the shared-
index case.  Require reindexing of shared indexes to be done in standalone
mode, but remove other restrictions on REINDEX.  -P (IgnoreSystemIndexes)
now prevents using indexes for lookups, but does not disable index updates.
It is therefore safe to allow from PGOPTIONS.  Upshot: reindexing system catalogs
can be done without a standalone backend for all cases except
shared catalogs.
2003-09-24 18:54:02 +00:00
Tom Lane 6767cebc6f pg_dump/pg_restore now always use SET SESSION AUTHORIZATION, not \connect,
to control object ownership.  The use-set-session-authorization and
no-reconnect switches are obsolete (still accepted on the command line,
but they don't do anything).  This is a precursor to fixing handling
of CREATE SCHEMA, which will be a separate commit.
2003-09-23 22:48:53 +00:00
Bruce Momjian 45de72b683 Add:
> * Allow LISTEN/NOTIFY to store info in memory rather than tables
2003-09-23 21:00:18 +00:00
Bruce Momjian eed6ff45d4 Add:
* Allow major upgrades without dump/reload, perhaps using pg_upgrade
2003-09-23 20:45:58 +00:00
Tom Lane aefc08e4eb Minor copy-editing for plpgsql chapter. 2003-09-23 19:58:50 +00:00
Peter Eisentraut 5d00f984d8 Make the SQL command synopses appear less random. 2003-09-22 00:16:58 +00:00
Tom Lane f3ad615ce8 Fix a batch of speling misteaks identified by Peter's spell-checker tool. 2003-09-20 20:12:05 +00:00
Tom Lane 8421253e54 Document that TRUNCATE ignores user-defined ON DELETE triggers. 2003-09-19 21:06:39 +00:00
Tom Lane a13b018530 Disallow foreign-key references from temp tables to permanent tables.
Per recent discussion, this does not work because other backends can't
reliably see tuples in a temp table and so cannot run the RI checks
correctly.  Seems better to disallow this case than go back to accessing
temp tables through shared buffers.  Also, disallow FK references to
ON COMMIT DELETE ROWS tables.  We already caught this problem for normal
TRUNCATE, but the path used by ON COMMIT didn't check.
2003-09-19 21:04:20 +00:00
Tom Lane 689015748f Put a tad more detail in the discussion of postmaster and postgres
signal handling.
2003-09-18 20:30:15 +00:00
Tom Lane 4d016a957d Okay, who left off the id= here? 2003-09-15 03:32:24 +00:00
Tom Lane 5f78d6cb77 LISTEN doesn't issue a warning for redundant listens anymore. Also,
add some 'See Also' links.
2003-09-15 03:21:51 +00:00
Bruce Momjian bcd8986e7d Rename --without-spinlocks to --disable-spinlocks, per Peter. 2003-09-13 17:01:09 +00:00
Bruce Momjian c346ca8648 When I sent in the sslmode patch I forgot to update the
comments/examples in pg_hba.conf. This patch remedies that, adds a brief
explanation of the connection types, and adds a missing period in the
docs.

Jon Jensen
2003-09-13 16:43:38 +00:00
Tom Lane f8c365c8db Marginal hacks to make tables format more nicely. 2003-09-13 00:19:43 +00:00
Tom Lane a75ee43ce9 Mop-up for error-message updates in documentation. 2003-09-12 23:04:46 +00:00
Tom Lane 6e59122490 Update obsolete examples of error messages; various other minor editing. 2003-09-12 22:17:24 +00:00