1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00
Commit Graph

23468 Commits

Author SHA1 Message Date
e15ce612b5 Cleanup pgwin32_open() 'if' test, and avoid possible error. 2006-10-03 20:44:18 +00:00
0184c6835c Rearrange MSVC errcode hack, fix incorrect _MSC_VER test. Magnus 2006-10-03 20:33:20 +00:00
878f32feab Move WIN32_ONLY_COMPILER define from c.h to win32.h because it was being
defined too late.
2006-10-03 03:59:22 +00:00
6e6125dc69 This patch fixes a small typo in information_schema.sgml.
Guillaume Lelarge
2006-10-03 01:03:53 +00:00
e3f1607cf8 Mention in postgresql.conf that autovacuum also needs
stats_start_collector and stats_row_level to also be on

David Wheeler
2006-10-03 00:39:26 +00:00
e020a5a6a9 Add URL for strlcpy():
>
>   http://archives.postgresql.org/pgsql-hackers/2006-09/msg02108.php
2006-10-03 00:03:54 +00:00
725ab82975 Add:
> 	* Fix SSL retry to avoid useless repeated connection attempts and
> 	  ensuing misleading error messages
2006-10-03 00:00:18 +00:00
b65b2cead5 Add URL about strlcpy() creation history. 2006-10-02 23:58:59 +00:00
8ef72878b5 Update wording:
< * Use strlcpy() rather than StrNCpy() macro
> * Use strlcpy() rather than our StrNCpy() macro
2006-10-02 23:26:02 +00:00
9b9e0e61a5 Add:
>
> * Use strlcpy() rather than StrNCpy() macro
2006-10-02 23:23:32 +00:00
ae9b60322e Remove mention of the -fast option from the Solaris FAQ.
Kenneth Marshall
2006-10-02 23:01:17 +00:00
5d52ad9dc8 Update recovery documentation.
Simon Riggs
2006-10-02 22:33:02 +00:00
26ffa627ac Update tsearch2 README.
Robert Treat
2006-10-02 22:32:10 +00:00
9ec71d5d1b Add URL for cached copy of paper as SGML comment. 2006-10-02 22:28:48 +00:00
5257c7f829 Add release note item:
Drop privileges on startup so servers can be started from
        an administrative account (Magnus)
2006-10-02 15:32:03 +00:00
7de0a919a2 Move "Exotic Features" to the bottom of TODO. 2006-10-02 14:00:04 +00:00
1e05359f4b Properly handle the case where strlcpy() exists in libc but isn't
declared in the system headers.  Per report from Bruce than some BSDen
are like this.
2006-10-02 00:06:18 +00:00
7ceec34a73 Improve documentation of configure's readline/libedit switches. 2006-10-01 23:47:16 +00:00
db2dcf58be Make some marginal performance improvements in reportErrorPosition(),
which turns out to be a dominant part of the runtime in scenarios
involving lots of parse-time warnings (such as Stephen Frost's example
of an INSERT with a lot of backslash-containing strings).  There's not
a whole lot we can do about the character-at-a-time scanning, but we
can at least avoid traversing the query twice.
2006-10-01 22:25:48 +00:00
8e4fe3ba1e Do a CHECK_FOR_INTERRUPTS after emitting a message of less than ERROR
severity.  This is to ensure the user can cancel a query that's spitting
out lots of notice/warning messages, even if they're coming from a loop
that doesn't otherwise contain a CHECK_FOR_INTERRUPTS.  Per gripe from
Stephen Frost.
2006-10-01 22:08:18 +00:00
e69c09c1e9 date_trunc also accepts 'quarter'. Noted by Yoshihisa Nakano. 2006-10-01 18:54:31 +00:00
363c8cf21f Remove accented characters in comments, to avoid failures when this
file is read with an incompatible client_encoding setting.  Per report
from Tim N. van der Leeuw.
2006-10-01 18:37:53 +00:00
514ce7a331 Fix overly enthusiastic Assert introduced in 8.1: it's expecting a
CaseTestExpr, but forgot that the optimizer is sometimes able to replace
CaseTestExpr by Const.
2006-10-01 17:23:38 +00:00
87cd901cba Suppress compiler warnings. 2006-09-30 18:44:37 +00:00
8136041a80 uninstall script for sslinfo 2006-09-30 18:24:19 +00:00
ad5031feac uninstall script for pg_freespacemap 2006-09-30 18:15:48 +00:00
035599da01 uninstall script for pgrowlocks - Josh Drake 2006-09-30 18:08:32 +00:00
8fd0e43c4e Add uninstall script for adminpack - Josh Drake 2006-09-30 18:03:06 +00:00
a9c7c5c240 BSD/OS doesn't have a prototype for strlcpy() but has the function, so
work around that with defines.
2006-09-30 12:06:42 +00:00
6bb9fc9fee Add:
> * Allow more complex user/database default GUC settings
>   Currently, ALTER USER and ALTER DATABASE support per-user and
>   per-database defaults.  Consider adding per-user-and-database
>   defaults so things like search_path can be defaulted for a
>   specific user connecting to a specific database.
>
>
2006-09-30 03:55:32 +00:00
7229b8cb8a Add MONEY URL:
>   http://archives.postgresql.org/pgsql-hackers/2006-09/msg01107.php
2006-09-30 02:59:06 +00:00
352a56ba68 Allow assignment to array elements not contiguous with those already
present; intervening positions are filled with nulls.  This behavior
is required by SQL99 but was not implementable before 8.2 due to lack
of support for nulls in arrays.  I have only made it work for the
one-dimensional case, which is all that SQL99 requires.  It seems quite
complex to get it right in higher dimensions, and since we never allowed
extension at all in higher dimensions, I think that must count as a
future feature addition not a bug fix.
2006-09-29 21:22:21 +00:00
673a573dcc Remove duplicate (and now incorrect) documentation for row-wise IS [NOT]
NULL.  Noted by Teodor.
2006-09-29 18:36:45 +00:00
f213131f20 Fix IS NULL and IS NOT NULL tests on row-valued expressions to conform to
the SQL spec, viz IS NULL is true if all the row's fields are null, IS NOT
NULL is true if all the row's fields are not null.  The former coding got
this right for a limited number of cases with IS NULL (ie, those where it
could disassemble a ROW constructor at parse time), but was entirely wrong
for IS NOT NULL.  Per report from Teodor.

I desisted from changing the behavior for arrays, since on closer inspection
it's not clear that there's any support for that in the SQL spec.  This
probably needs more consideration.
2006-09-28 20:51:43 +00:00
d3aa4a8e33 Add URL for client_encoding being set by client:
>   http://archives.postgresql.org/pgsql-hackers/2006-08/msg01696.php
2006-09-28 17:43:36 +00:00
062421defb Fix a couple other places that need to know about (some) src/port/ files
explicitly.
2006-09-28 14:48:45 +00:00
85bbd549d8 Oops, forgot that libpq needs extra steps to make use of src/port/ files. 2006-09-27 21:29:17 +00:00
c92f7e258e Replace strncpy with strlcpy in selected places that seem possibly relevant
to performance.  (A wholesale effort to get rid of strncpy should be
undertaken sometime, but not during beta.)  This commit also fixes dynahash.c
to correctly truncate overlength string keys for hashtables, so that its
callers don't have to anymore.
2006-09-27 18:40:10 +00:00
996b203e62 Add strlcpy() to the set of functions supported by src/port/ when not
available directly on the platform.  Per discussion, this function is
sufficiently widely recognized to be treated as standard.
2006-09-27 16:29:46 +00:00
1d45168f4b Fix some misuses of strncat(). 2006-09-27 16:19:42 +00:00
9ba4065312 Remove separate strdup.h header file; it's redundant with port.h. 2006-09-27 15:41:24 +00:00
de6ca63d7f GiST stands for "Generalized Search Tree", and therefore should not be
spelled with a capital "I".
2006-09-27 06:37:28 +00:00
4650c4fdb9 Degrade the transaction-id wraparound point message from LOG to DEBUG1, per
discussion.

Patch from Simon Riggs.
2006-09-26 17:21:39 +00:00
1d5a13b154 Update wording of inheritance major release item. 2006-09-26 12:31:48 +00:00
8580985c2b Split out inheritance major feature item in release notes. 2006-09-26 11:45:33 +00:00
03a68a7cae Done:
< 	  o Add command to archive partially filled write-ahead logs? [pitr]
<
< 	    Currently only full WAL files are archived. This means that the
< 	    most recent transactions aren't available for recovery in case
< 	    of a disk failure.
<

Reorder:

< 	  o %Create dump tool for write-ahead logs for use in determining
< 	    transaction id for point-in-time recovery
> 	  o %Create dump tool for write-ahead logs for use in determining
> 	    transaction id for point-in-time recovery
2006-09-26 11:18:29 +00:00
2c660c61cf Added new files 2006-09-26 09:07:31 +00:00
9897e35c56 Added Joachim's changes for MinGW.
Added SET DATESTYLE to one test so the output format is defined.
2006-09-26 07:56:57 +00:00
0f8fc35a5a Increase default value of effective_cache_size to 128MB, per discussion. 2006-09-25 22:12:24 +00:00
ffae5cc5a6 Add a check to prevent overwriting valid data if smgrnblocks() gives a
wrong answer, as has been seen to occur with a buggy Linux kernel.  Not
really our bug, but it's a simple test in a seldom-used control path,
so might as well have a defense.
2006-09-25 22:01:10 +00:00