1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00
Commit Graph

25878 Commits

Author SHA1 Message Date
ef48ed4c86 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.
2007-11-22 19:40:25 +00:00
6342f36d87 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.
2007-11-22 19:09:23 +00:00
b85cf684f7 Add more comments about thousands separator handling. 2007-11-22 17:51:39 +00:00
f608f3b87b 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.
2007-11-22 17:47:28 +00:00
d9bc7a3946 Add comments about thousands separator logic. 2007-11-22 15:10:05 +00:00
73f9089045 Document that doc builds now build indexes by default, unless "draft" is
used.
2007-11-22 15:04:52 +00:00
64e0d32133 WSATYPE_NOT_FOUND was already defined for BCC so don't redefine it
(conflicting values).
2007-11-21 23:13:36 +00:00
d65b42b85b Fix build of libpq for Borland CC. 2007-11-21 23:03:44 +00:00
3894e7cc55 When setting default thousands separator when locale has "", use logic
so new thousands separator doesn't match decimal symbol.
2007-11-21 22:28:18 +00:00
6f3149e464 Fix typo in comment. 2007-11-21 21:49:22 +00:00
fec1d72dd1 Clarify the syntax rules for raw tsvector input. 2007-11-21 04:01:37 +00:00
d23ba77a44 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.
2007-11-20 23:14:41 +00:00
09a98e61c3 Fix pg_ctl -t to register -t value, per Alvaro. 2007-11-20 19:24:26 +00:00
9eced0031c Split release notes up into smaller sections; easier to read. 2007-11-20 17:10:25 +00:00
e66d0c6299 Fix some missed usages of 'HTML tag' and 'HTML entity'. 2007-11-20 15:58:52 +00:00
aff5c589fa Make "contrib/" tag consistent. 2007-11-20 05:23:20 +00:00
56696745a8 Split out data types and function entries into separate sections in the
release notes.
2007-11-20 05:16:31 +00:00
726226b128 Release note adjustments suggested by IRC users. 2007-11-20 05:00:24 +00:00
d6eaeb335b Adjust contrib/tsearch2 regression results to use XML tag and XML entity descriptions, as now used by core text search default parser. 2007-11-20 04:23:10 +00:00
ee891817fb Reorder a few release notes items for consistency. 2007-11-20 04:00:27 +00:00
0af4bb87d3 Trim down release section headings (no need for Changes).
Re-order some items as migration changes.
2007-11-20 03:34:14 +00:00
1157f3cc81 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.
2007-11-20 02:25:22 +00:00
a262394c8c Split "server changes" up into smaller sections in release notes. 2007-11-20 01:42:37 +00:00
c37e357978 Markup fix. 2007-11-20 01:19:30 +00:00
1037ab75b2 More release notes wording cleanups. 2007-11-20 01:13:00 +00:00
5276950874 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.
2007-11-20 00:18:46 +00:00
d29e9725a7 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
2007-11-19 23:48:46 +00:00
eeb8677761 Update comment. 2007-11-19 23:48:33 +00:00
f59f8aedd8 Add suggested syntax for COMMENT ON DATABASE:
< 	  with a different name
> 	  with a different name, perhaps using COMMENT ON CURRENT
>           DATABASE
>
2007-11-19 19:27:03 +00:00
3b65c3b2e7 Add comment about COMMENT ON DATABASE failing for differently-named
databases.
2007-11-19 18:44:06 +00:00
5e996e4a76 Add:
> 	o Allow COMMENT ON dbname to work when loading into a database
> 	  with a different name
2007-11-19 18:42:11 +00:00
d4205295aa Improve description of implicit-text-casting compatibility issue.
A bunch of other desultory copy-editing, too.
2007-11-19 03:47:14 +00:00
3ebb8867aa Minor improvement in documentation of temp_tablespaces: avoid grammatical
ambiguity and say what the default value is.
2007-11-19 02:26:10 +00:00
7129f26be0 Remove no-longer-accurate claim that REINDEX won't invalidate cached
plans.
2007-11-18 18:42:03 +00:00
b13602c6d0 Wordsmith improvements to first half of release notes, move TEXT cast
item to #1 imcompatibility slot.
2007-11-17 21:13:42 +00:00
fbab505216 Simplify TEXT cast working; spelling fixes to release notes. 2007-11-17 15:17:16 +00:00
6f4cfe48ac 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.
2007-11-16 21:55:59 +00:00
16dcd5e5ce 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.
2007-11-16 21:50:06 +00:00
015794541d Fix inconsistent message wording, and split off a couple of duplicated strings. 2007-11-16 21:47:32 +00:00
93190c3098 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.
2007-11-16 19:53:50 +00:00
bb4a78c070 Fix a few mentions of "Postgres" that slipped into the release notes. 2007-11-16 17:22:21 +00:00
2230944e30 Add release note that "Postgres" is now documented as an acceptable
alias.
2007-11-16 16:12:14 +00:00
6fcfd14697 Simplify wording. 2007-11-16 15:53:57 +00:00
5633da000f Add FAQ items about "Postgres" alias usage, remove old reference. 2007-11-16 15:50:31 +00:00
a867b40cf4 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
2007-11-16 15:05:59 +00:00
2f1e7ffb76 Fix markup that doesn't work in HISTORY generation. REL8_3_BETA3 2007-11-16 06:28:07 +00:00
7c0bc953e6 Re-do configure with autoconf 2.59 2007-11-16 04:59:25 +00:00
2a174e45dd update files for beta3 2007-11-16 04:29:45 +00:00
fb8b38e4bf 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).
2007-11-16 03:23:07 +00:00
f639df0d61 Small comment spacing improvement. 2007-11-16 01:51:22 +00:00