OSDN Git Service
Tatsuo Ishii [Fri, 23 Nov 2007 00:24:12 +0000 (00:24 +0000)]
Fix "Overall Page Layout" table. The second row should be ItemIdData, not
ItemPointerData.
Tom Lane [Thu, 22 Nov 2007 19:40:25 +0000 (19:40 +0000)]
Actually ... it's pretty silly that parse_oper.c doesn't set up the
opfuncid of an OpExpr initially, considering that it has the information
at hand already. We'll still treat opfuncid as a cache rather than a
guaranteed-valid value, but this change saves one more syscache lookup
in the normal code path.
Tom Lane [Thu, 22 Nov 2007 19:09:23 +0000 (19:09 +0000)]
Save one syscache lookup when examining volatility or strictness of
OpExpr and related nodes. We're going to have to set the opfuncid of
such nodes eventually (if we haven't already), so we might as well
exploit the opportunity to cache the function OID. Buys back some
of the extra planner overhead noted by Guillaume Smet, though I still
need to fool with equivclass.c to really respond to that.
Bruce Momjian [Thu, 22 Nov 2007 17:51:39 +0000 (17:51 +0000)]
Add more comments about thousands separator handling.
Tom Lane [Thu, 22 Nov 2007 17:47:28 +0000 (17:47 +0000)]
Prevent Perl from introducing a possibly-incompatible definition of type
"bool" into plperl.c. This has always been a hazard since Perl allows a
platform-specific choice to define bool as int rather than char, but
evidently this didn't happen on any platform we support ... until OS X 10.5.
Per report from Brandon Maust.
Back-patch as far as 8.0 --- a bit arbitrary, but it seems unlikely anyone
will be trying to port 7.x onto new platforms.
Bruce Momjian [Thu, 22 Nov 2007 15:10:05 +0000 (15:10 +0000)]
Add comments about thousands separator logic.
Bruce Momjian [Thu, 22 Nov 2007 15:04:52 +0000 (15:04 +0000)]
Document that doc builds now build indexes by default, unless "draft" is
used.
Bruce Momjian [Wed, 21 Nov 2007 23:13:36 +0000 (23:13 +0000)]
WSATYPE_NOT_FOUND was already defined for BCC so don't redefine it
(conflicting values).
Bruce Momjian [Wed, 21 Nov 2007 23:03:44 +0000 (23:03 +0000)]
Fix build of libpq for Borland CC.
Bruce Momjian [Wed, 21 Nov 2007 22:28:18 +0000 (22:28 +0000)]
When setting default thousands separator when locale has "", use logic
so new thousands separator doesn't match decimal symbol.
Bruce Momjian [Wed, 21 Nov 2007 21:49:22 +0000 (21:49 +0000)]
Fix typo in comment.
Tom Lane [Wed, 21 Nov 2007 04:01:37 +0000 (04:01 +0000)]
Clarify the syntax rules for raw tsvector input.
Tom Lane [Tue, 20 Nov 2007 23:14:41 +0000 (23:14 +0000)]
Fix bogus length calculation that could lead to crash if the string
happened to be right up against the end of memory, per report from
Matt Magoffin. While at it, avoid useless multiple copying of string
by not depending on xmlStrncatNew.
Bruce Momjian [Tue, 20 Nov 2007 19:24:26 +0000 (19:24 +0000)]
Fix pg_ctl -t to register -t value, per Alvaro.
Bruce Momjian [Tue, 20 Nov 2007 17:10:25 +0000 (17:10 +0000)]
Split release notes up into smaller sections; easier to read.
Tom Lane [Tue, 20 Nov 2007 15:58:52 +0000 (15:58 +0000)]
Fix some missed usages of 'HTML tag' and 'HTML entity'.
Bruce Momjian [Tue, 20 Nov 2007 05:23:20 +0000 (05:23 +0000)]
Make "contrib/" tag consistent.
Bruce Momjian [Tue, 20 Nov 2007 05:16:31 +0000 (05:16 +0000)]
Split out data types and function entries into separate sections in the
release notes.
Bruce Momjian [Tue, 20 Nov 2007 05:00:24 +0000 (05:00 +0000)]
Release note adjustments suggested by IRC users.
Andrew Dunstan [Tue, 20 Nov 2007 04:23:10 +0000 (04:23 +0000)]
Adjust contrib/tsearch2 regression results to use XML tag and XML entity descriptions, as now used by core text search default parser.
Bruce Momjian [Tue, 20 Nov 2007 04:00:27 +0000 (04:00 +0000)]
Reorder a few release notes items for consistency.
Bruce Momjian [Tue, 20 Nov 2007 03:34:14 +0000 (03:34 +0000)]
Trim down release section headings (no need for Changes).
Re-order some items as migration changes.
Andrew Dunstan [Tue, 20 Nov 2007 02:25:22 +0000 (02:25 +0000)]
Change descriptions of entity and tag objects to "XML entity" and "XML tag".
Allow tag and entity names that follow XML rules. Provide for hexadecimal
as well as decimal numeric entities. Adjust code names to coincide with
new descriptions.
Bruce Momjian [Tue, 20 Nov 2007 01:42:37 +0000 (01:42 +0000)]
Split "server changes" up into smaller sections in release notes.
Bruce Momjian [Tue, 20 Nov 2007 01:19:30 +0000 (01:19 +0000)]
Markup fix.
Bruce Momjian [Tue, 20 Nov 2007 01:13:00 +0000 (01:13 +0000)]
More release notes wording cleanups.
Bruce Momjian [Tue, 20 Nov 2007 00:18:46 +0000 (00:18 +0000)]
Update COMMENT item:
< o Prevent COMMENT ON dbname from issuing a warning when loading
< into a database with a different name, perhaps using COMMENT ON
< CURRENT DATABASE
> o Change pg_dump so that a comment on the dumped database is
> applied to the loaded database, even if the database has a
> different name. This will require new backend syntax, perhaps
> COMMENT ON CURRENT DATABASE.
Bruce Momjian [Mon, 19 Nov 2007 23:48:46 +0000 (23:48 +0000)]
Update wording:
< o Allow COMMENT ON dbname to work when loading into a database
< with a different name, perhaps using COMMENT ON CURRENT
< DATABASE
> o Prevent COMMENT ON dbname from issuing a warning when loading
> into a database with a different name, perhaps using COMMENT ON
> CURRENT DATABASE
Bruce Momjian [Mon, 19 Nov 2007 23:48:33 +0000 (23:48 +0000)]
Update comment.
Bruce Momjian [Mon, 19 Nov 2007 19:27:03 +0000 (19:27 +0000)]
Add suggested syntax for COMMENT ON DATABASE:
< with a different name
> with a different name, perhaps using COMMENT ON CURRENT
> DATABASE
>
Bruce Momjian [Mon, 19 Nov 2007 18:44:06 +0000 (18:44 +0000)]
Add comment about COMMENT ON DATABASE failing for differently-named
databases.
Bruce Momjian [Mon, 19 Nov 2007 18:42:11 +0000 (18:42 +0000)]
Add:
> o Allow COMMENT ON dbname to work when loading into a database
> with a different name
Tom Lane [Mon, 19 Nov 2007 03:47:14 +0000 (03:47 +0000)]
Improve description of implicit-text-casting compatibility issue.
A bunch of other desultory copy-editing, too.
Tom Lane [Mon, 19 Nov 2007 02:26:10 +0000 (02:26 +0000)]
Minor improvement in documentation of temp_tablespaces: avoid grammatical
ambiguity and say what the default value is.
Tom Lane [Sun, 18 Nov 2007 18:42:03 +0000 (18:42 +0000)]
Remove no-longer-accurate claim that REINDEX won't invalidate cached
plans.
Bruce Momjian [Sat, 17 Nov 2007 21:13:42 +0000 (21:13 +0000)]
Wordsmith improvements to first half of release notes, move TEXT cast
item to #1 imcompatibility slot.
Bruce Momjian [Sat, 17 Nov 2007 15:17:16 +0000 (15:17 +0000)]
Simplify TEXT cast working; spelling fixes to release notes.
Tom Lane [Fri, 16 Nov 2007 21:55:59 +0000 (21:55 +0000)]
Improve GIN index build's tracking of memory usage by using
GetMemoryChunkSpace, not just the palloc request size. This brings the
allocatedMemory counter close enough to reality (as measured by
MemoryContextStats printouts) that I think we can get rid of the arbitrary
factor-of-2 adjustment that was put into the code initially. Given the
sensitivity of GIN build to work memory size, not using as much of work
memory as we're allowed to seems a pretty bad idea.
Tom Lane [Fri, 16 Nov 2007 21:50:06 +0000 (21:50 +0000)]
GIN index build's allocatedMemory counter needs to be long, not uint32.
Else, in a 64-bit machine with maintenance_work_mem set to above 4Gb,
the counter overflows and we never recognize having reached the
maintenance_work_mem limit. I believe this explains out-of-memory
failure recently reported by Sean Davis.
This is a bug, so backpatch to 8.2.
Alvaro Herrera [Fri, 16 Nov 2007 21:47:32 +0000 (21:47 +0000)]
Fix inconsistent message wording, and split off a couple of duplicated strings.
Tom Lane [Fri, 16 Nov 2007 19:53:50 +0000 (19:53 +0000)]
Repair still another bug in the btree page split WAL reduction patch:
it failed for splits of non-leaf pages because in such pages the first
data key on a page is suppressed, and so we can't just copy the first
key from the right page to reconstitute the left page's high key.
Problem found by Koichi Suzuki, patch by Heikki.
Bruce Momjian [Fri, 16 Nov 2007 17:22:21 +0000 (17:22 +0000)]
Fix a few mentions of "Postgres" that slipped into the release notes.
Bruce Momjian [Fri, 16 Nov 2007 16:12:14 +0000 (16:12 +0000)]
Add release note that "Postgres" is now documented as an acceptable
alias.
Bruce Momjian [Fri, 16 Nov 2007 15:53:57 +0000 (15:53 +0000)]
Simplify wording.
Bruce Momjian [Fri, 16 Nov 2007 15:50:31 +0000 (15:50 +0000)]
Add FAQ items about "Postgres" alias usage, remove old reference.
Teodor Sigaev [Fri, 16 Nov 2007 15:05:59 +0000 (15:05 +0000)]
Fix tsvectorout() and tsqueryout() to escape backslesh, add test of that.
Patch by Bruce Momjian <bruce@momjian.us>
Backpatch is needed, but it's impossible to apply it directly
Tom Lane [Fri, 16 Nov 2007 06:28:07 +0000 (06:28 +0000)]
Fix markup that doesn't work in HISTORY generation.
Tom Lane [Fri, 16 Nov 2007 04:59:25 +0000 (04:59 +0000)]
Re-do configure with autoconf 2.59
Marc G. Fournier [Fri, 16 Nov 2007 04:29:45 +0000 (04:29 +0000)]
update files for beta3
Tom Lane [Fri, 16 Nov 2007 03:23:07 +0000 (03:23 +0000)]
Add a couple of notes pointing out that GIN index build time is very
sensitive to maintenance_work_mem (something I just learned the hard
way).
Bruce Momjian [Fri, 16 Nov 2007 01:51:22 +0000 (01:51 +0000)]
Small comment spacing improvement.
Bruce Momjian [Fri, 16 Nov 2007 01:25:15 +0000 (01:25 +0000)]
Better guard token used by pgindent.
Bruce Momjian [Fri, 16 Nov 2007 01:12:24 +0000 (01:12 +0000)]
Run pgindent on remaining files now that LOOPBYTE is a usable macro.
Bruce Momjian [Fri, 16 Nov 2007 01:11:04 +0000 (01:11 +0000)]
Cleanup for new else/comment handling.
Tom Lane [Fri, 16 Nov 2007 00:57:55 +0000 (00:57 +0000)]
Fix stupid typo in recently-added code :-(
Tom Lane [Fri, 16 Nov 2007 00:34:54 +0000 (00:34 +0000)]
Add snb_ru_init(internal) to list of stub functions in tsearch2
compatibility module. Needed to support loading of 8.1-era tsearch2
configuration data.
Bruce Momjian [Fri, 16 Nov 2007 00:13:02 +0000 (00:13 +0000)]
Modify LOOPBYTE/LOOPBIT macros to be more logical; rather than have the
for() body passed as a parameter, make the macros act as simple headers
to code blocks.
This allows pgindent to be run on these files.
Bruce Momjian [Thu, 15 Nov 2007 23:23:44 +0000 (23:23 +0000)]
Fix pgindent to properly handle 'else' and single-line comments on the
same line; previous fix was only partial. Re-run pgindent on files
that need it.
Bruce Momjian [Thu, 15 Nov 2007 22:25:18 +0000 (22:25 +0000)]
Re-run pgindent with updated list of typedefs. (Updated README should
avoid this problem in the future.)
Bruce Momjian [Thu, 15 Nov 2007 22:15:46 +0000 (22:15 +0000)]
Beef up README instructions, again.
Bruce Momjian [Thu, 15 Nov 2007 22:12:09 +0000 (22:12 +0000)]
CUpdate README to suggest 'gmake distclean'. Add library typedefs.
Bruce Momjian [Thu, 15 Nov 2007 22:09:07 +0000 (22:09 +0000)]
Update pgtools README to be clearer about typdefs.
Bruce Momjian [Thu, 15 Nov 2007 22:06:07 +0000 (22:06 +0000)]
Update pgindent with current typedefs.
Peter Eisentraut [Thu, 15 Nov 2007 22:02:12 +0000 (22:02 +0000)]
When logging the recovery.conf parameters, show them quoted as they would
appear in the configuration file.
Bruce Momjian [Thu, 15 Nov 2007 21:52:39 +0000 (21:52 +0000)]
Add blank lines to pgindent.
Tom Lane [Thu, 15 Nov 2007 21:49:47 +0000 (21:49 +0000)]
Use ftruncate() not truncate() in mdunlink. Seems Windows doesn't
support the latter.
Tom Lane [Thu, 15 Nov 2007 21:21:14 +0000 (21:21 +0000)]
Update timezone data files to release 2007i of the zic database.
Bruce Momjian [Thu, 15 Nov 2007 21:14:46 +0000 (21:14 +0000)]
pgindent run for 8.3.
Peter Eisentraut [Thu, 15 Nov 2007 20:38:15 +0000 (20:38 +0000)]
Translation updates
Tom Lane [Thu, 15 Nov 2007 20:36:40 +0000 (20:36 +0000)]
Prevent re-use of a deleted relation's relfilenode until after the next
checkpoint. This guards against an unlikely data-loss scenario in which
we re-use the relfilenode, then crash, then replay the deletion and
recreation of the file. Even then we'd be OK if all insertions into the
new relation had been WAL-logged ... but that's not guaranteed given all
the no-WAL-logging optimizations that have recently been added.
Patch by Heikki Linnakangas, per a discussion last month.
Peter Eisentraut [Thu, 15 Nov 2007 20:21:05 +0000 (20:21 +0000)]
Update config.guess and config.sub
Bruce Momjian [Thu, 15 Nov 2007 20:10:32 +0000 (20:10 +0000)]
Add more detail for non-TEXT cast release item.
Peter Eisentraut [Thu, 15 Nov 2007 20:04:38 +0000 (20:04 +0000)]
Message improvements
Peter Eisentraut [Thu, 15 Nov 2007 19:40:31 +0000 (19:40 +0000)]
Add to synopsis that timeout option also applies to stop mode
Peter Eisentraut [Thu, 15 Nov 2007 19:35:26 +0000 (19:35 +0000)]
Make help synopsis consistent
Peter Eisentraut [Thu, 15 Nov 2007 18:37:23 +0000 (18:37 +0000)]
Make synopses of -t option consistent
Bruce Momjian [Thu, 15 Nov 2007 17:09:40 +0000 (17:09 +0000)]
Document that /contrib/tsearch2 now contains a compatibility interface.
Tom Lane [Wed, 14 Nov 2007 23:48:55 +0000 (23:48 +0000)]
Adjust example to reduce confusion between a tsvector column and
an index, per Simon.
Tom Lane [Wed, 14 Nov 2007 23:43:27 +0000 (23:43 +0000)]
Add a rank/(rank+1) normalization option to ts_rank(). While the usefulness
of this seems a bit marginal, if it's useful enough to be shown in the manual
then we probably ought to support doing it without double evaluation of the
ts_rank function. Per my proposal earlier today.
Tom Lane [Wed, 14 Nov 2007 21:19:18 +0000 (21:19 +0000)]
Fix incorrect calculation of elapsed_xlogs. Itagaki Takahiro
Tom Lane [Wed, 14 Nov 2007 18:36:37 +0000 (18:36 +0000)]
Add an Accept parameter to "simple" dictionaries. The default of true
gives the old behavior; selecting false allows the dictionary to be used
as a filter ahead of other dictionaries, because it will pass on rather
than accept words that aren't in its stopword list.
Jan Urbanski
Bruce Momjian [Wed, 14 Nov 2007 14:38:30 +0000 (14:38 +0000)]
Mention that GSSAPI is preferred over Kerberos authentication because
GSSAPI is industry-standard.
Magnus Hagander [Wed, 14 Nov 2007 14:25:55 +0000 (14:25 +0000)]
Add note about deprecating krb5 authentication in favour of GSSAPI,
per discussions (a long time ago). Documentation only, we keep full
support in the code.
Bruce Momjian [Wed, 14 Nov 2007 14:06:54 +0000 (14:06 +0000)]
Capitalize "Migration to Version".
Bruce Momjian [Wed, 14 Nov 2007 12:36:34 +0000 (12:36 +0000)]
Properly capitalize "Migrate To Version"; seems we always had that
wrong.
Bruce Momjian [Wed, 14 Nov 2007 03:39:53 +0000 (03:39 +0000)]
Markup cleanup.
Bruce Momjian [Wed, 14 Nov 2007 03:39:17 +0000 (03:39 +0000)]
Reference pgfoundry instead of gborg.
Bruce Momjian [Wed, 14 Nov 2007 03:37:30 +0000 (03:37 +0000)]
Remove reference to gborg, instead reference pgfoundry.
Tom Lane [Wed, 14 Nov 2007 03:26:24 +0000 (03:26 +0000)]
Update discussion of tsearch2 migration. I'm not entirely sure about
the division of material between here and the tsearch2 contrib page,
but at least it's not obviously unfinished any more.
Tom Lane [Wed, 14 Nov 2007 02:36:43 +0000 (02:36 +0000)]
Move contrib docs to an appendix (next door to External Projects).
Change title to Additional Supplied Modules. Improve discussion of
how to build and install 'em.
Tom Lane [Wed, 14 Nov 2007 01:58:18 +0000 (01:58 +0000)]
Clean up some now-obsolete references to GBorg.
Tom Lane [Wed, 14 Nov 2007 01:09:50 +0000 (01:09 +0000)]
Add some quick documentation for tsearch2 compatibility module.
Bruce Momjian [Wed, 14 Nov 2007 00:16:27 +0000 (00:16 +0000)]
Update release notes to current CVS.
Tom Lane [Tue, 13 Nov 2007 23:36:26 +0000 (23:36 +0000)]
Clean up some stray references to tsearch2.
Tom Lane [Tue, 13 Nov 2007 22:49:47 +0000 (22:49 +0000)]
contrib/tsearch2 need not be special-cased any longer.
Tom Lane [Tue, 13 Nov 2007 22:14:50 +0000 (22:14 +0000)]
Resurrect the code for the rewrite(ARRAY[...]) aggregate function,
and put it into contrib/tsearch2 compatibility module.
Tom Lane [Tue, 13 Nov 2007 21:25:25 +0000 (21:25 +0000)]
Ooops, missed one file to remove.
Tom Lane [Tue, 13 Nov 2007 21:10:40 +0000 (21:10 +0000)]
Update description of contrib/tsearch2.
Tom Lane [Tue, 13 Nov 2007 21:04:45 +0000 (21:04 +0000)]
Re-add contrib/tsearch2 to the set of buildable contrib modules.
Tom Lane [Tue, 13 Nov 2007 21:02:29 +0000 (21:02 +0000)]
Replace the now-incompatible-with-core contrib/tsearch2 module with a
compatibility package. This supports importing dumps from past versions
using tsearch2, and provides the old names and API for most functions
that were changed. (rewrite(ARRAY[...]) is a glaring omission, though.)
Pavel Stehule and Tom Lane