Tom Lane
a7bbb6cd53
Fix minor thinko in logic to set dump order when dumping from a pre-7.3
...
database: aggregates should be dumped in the same pass as operators,
not in the same pass as functions.
2005-02-03 23:39:21 +00:00
Tom Lane
c8460d571e
Ensure that all details of the ARC algorithm are hidden within freelist.c.
...
This refactoring does not change any algorithms or data structures, just
remove visibility of the ARC datastructures from other source files.
2005-02-03 23:30:12 +00:00
Tom Lane
f76390d75a
Improve performance of fmgr.c calling routines for cases with more than
...
two arguments. Per suggestions from A. Ogawa.
2005-02-02 22:40:19 +00:00
Tom Lane
388a42c515
Adjust constant-folding of CASE expressions so that the simple comparison
...
form of CASE (eg, CASE 0 WHEN 1 THEN ...) can be constant-folded as it
was in 7.4. Also, avoid constant-folding result expressions that are
certainly unreachable --- the former coding was a bit cavalier about this
and could generate unexpected results for all-constant CASE expressions.
Add regression test cases. Per report from Vlad Marchenko.
2005-02-02 21:49:49 +00:00
Bruce Momjian
722c886ba1
Improve wording of to_char() change in 8.1:
...
The 8.1 release will remove the <function>to_char()</> function
for intervals.
2005-02-02 18:17:34 +00:00
Bruce Momjian
6aebc34e55
Backpatch FAQ to 8.0.X.
2005-02-02 17:44:51 +00:00
Bruce Momjian
8e2216db6c
Backpatch FAQ to 8.0.X.
2005-02-02 13:42:02 +00:00
Neil Conway
a8daceaa15
Fix a bug induced by the list-rewrite that resulted in incrementing the
...
command counter more than necessary. Per report from Michael Fuhr.
2005-02-01 23:29:13 +00:00
Tom Lane
914db10289
Adjust estimate_num_groups() to not clamp per-relation group count
...
estimate to less than the number of values estimated for any one grouping
Var, as suggested by Manfred. This is intuitively right, and what's
more it puts the plan choices in the subselect regression test back the
way they were before ...
2005-02-01 23:09:00 +00:00
Tom Lane
86206573ed
Adjust plpgsql to allow assignment to an element of an array that is
...
initially NULL. For 8.0 we changed the main executor to have this
behavior in an UPDATE of an array column, but plpgsql's equivalent case
was overlooked. Per report from Sven Willenberger.
2005-02-01 19:35:29 +00:00
Bruce Momjian
925320fe3d
Backpatch FAQ changes to 8.0.X.
2005-02-01 02:42:03 +00:00
Tom Lane
b46fa4ba81
Sync inet formatting code with recent BIND releases. In particular,
...
fix bug with inconsistent selection of default mask length for
"class D" addresses. Per report from Steve Atkins.
2005-02-01 00:59:53 +00:00
Tom Lane
380c7117ef
Recommend security@postgresql.org as the contact point for security-related bugs.
REL8_0_1
2005-01-30 21:31:57 +00:00
Tom Lane
8097ce9f52
Stamp 8.0 branch as 8.0.1.
2005-01-30 19:17:49 +00:00
Peter Eisentraut
372d78997c
Translation updates
2005-01-30 15:47:30 +00:00
Bruce Momjian
caf48b43c7
Backpatch FAQ to 8.0.X.
2005-01-30 04:45:23 +00:00
Bruce Momjian
cd69dea6a0
FAQ markup fixes.
2005-01-30 04:44:25 +00:00
Bruce Momjian
bfdfa4d00d
Backpatch FAQ to 8.0.X.
2005-01-30 04:26:40 +00:00
Bruce Momjian
8f2c03752b
Backpatch FAQ changes to 8.0.X.
2005-01-30 04:22:53 +00:00
Tom Lane
426ccf86fa
We haven't had a fixed limit on rule recursion depth since 7.3 ...
...
but the documentation still said so.
2005-01-29 23:45:53 +00:00
Tom Lane
d2190ad66e
Make sure contrib C functions are marked strict where needed.
...
Kris Jurka
2005-01-29 22:35:17 +00:00
Tom Lane
d8595c9850
Add documentation for format_type(), which somehow escaped it before.
2005-01-28 23:13:26 +00:00
Tom Lane
49786de18e
Add intset() to README (backpatch teodor's docs fix in HEAD).
2005-01-28 22:58:59 +00:00
Tom Lane
2bb33a8048
Add note cautioning that you can't use an encrypting IDENT server
...
with Postgres.
2005-01-28 22:38:50 +00:00
Tom Lane
7c67dcacd8
When dealing with multiple grouping columns coming from the same table,
...
clamp the estimated number of groups to table row count over 10, instead
of table row count; this reflects a heuristic that people probably won't
group over a near-unique set of columns, and the knowledge that we don't
currently have any way to estimate the correlation of the columns better
than guessing. This change creates a trivial plan change in one of the
regression tests.
2005-01-28 20:35:14 +00:00
Tom Lane
a098f533d1
Improve planner's estimation of the space needed for HashAgg plans:
...
look at the actual aggregate transition datatypes and the actual overhead
needed by nodeAgg.c, instead of using pessimistic round numbers.
Per a discussion with Michael Tiemann.
2005-01-28 19:36:33 +00:00
Tom Lane
af5cd5ba92
pg_aggregate.h fails to compile standalone, for lack of an #include
...
defining List.
2005-01-28 17:36:04 +00:00
Tom Lane
51aac36996
Adjust mkdir_p to do stat() before trying mkdir(). Avoids problems on
...
Solaris and should be a little faster anyway, since in most scenarios
all but perhaps the last path component will already exist.
2005-01-28 00:36:17 +00:00
Tom Lane
f2196c00b2
Check that aggregate creator has the right to execute the transition
...
functions of the aggregate, at both aggregate creation and execution times.
2005-01-27 23:42:44 +00:00
Tom Lane
5f0962a233
Now that I look at it, int_array_enum() didn't work either.
2005-01-27 21:50:06 +00:00
Tom Lane
4d43341043
Fix security and 64-bit issues in contrib/intagg. This code could
...
stand to be rewritten altogether, but for now just stick a finger in
the dike.
2005-01-27 21:35:07 +00:00
Peter Eisentraut
094326cbd8
Backpatch translations
2005-01-27 12:10:04 +00:00
Tom Lane
aa060cd714
Close all cursors created during a failed subtransaction. This is needed
...
to avoid problems when a cursor depends on objects created or changed in
the same subtransaction. We'd like to do better someday, but this seems
the only workable answer for 8.0.1.
2005-01-26 23:20:37 +00:00
Tom Lane
1ded77722d
Propagate ecpg core dump fix into 8.0 branch.
2005-01-26 22:52:01 +00:00
Tom Lane
e6941a7c7e
Adjust Windows autovacuum service to retry for up to 5 minutes waiting
...
for the postmaster to start. Dave Page
2005-01-26 22:25:23 +00:00
Tom Lane
5f0a0a72a5
On Windows, set the postmaster executable's stack size to 4MB, so that
...
it agrees with the default value of max_stack_depth.
2005-01-26 21:57:32 +00:00
Tom Lane
4f6bd8a998
Minor tweak to avoid unnecessary memory bloat when dumping extremely wide
...
column values in -d mode. Per report from Marty Scholes. This doesn't
completely solve the issue, because we still need multiple copies of the
field value, but at least one copy can be got rid of painlessly ...
2005-01-26 21:24:27 +00:00
Tom Lane
4cfa8cdfaf
Add docs for a couple of formerly-undocumented geometric conversion functions.
2005-01-26 20:42:26 +00:00
Tom Lane
b5aef55694
Make pg_dump and pg_restore handle binary archive formats correctly
...
when using stdout/stdin on Windows.
2005-01-26 19:44:53 +00:00
Tom Lane
953570a899
Use SHGetFolderPath instead of SHGetSpecialFolderPath to find the
...
APPDATA directory on Windows. Magnus Hagander
2005-01-26 19:24:21 +00:00
Neil Conway
9ea9892c99
Mark the text_soundex() function as "strict", to avoid crashing on NULL
...
input. Also, may as well mark it "cacheable" as well. From Kris Jurka.
2005-01-26 08:08:04 +00:00
Tom Lane
6f28c7763e
Fix breakage created by addition of separate 'acl pass' in pg_dump.
...
Also clean up incredibly poor style in TocIDRequired() usage.
2005-01-25 22:44:47 +00:00
Peter Eisentraut
5cc4c640d9
Add missing "ko".
2005-01-25 17:31:39 +00:00
Peter Eisentraut
122c5fa335
Translation update
2005-01-25 17:30:00 +00:00
Tom Lane
56915ea296
Fix ALTER TABLE ADD COLUMN so that constraints of domain types are
...
enforced properly when there is no explicit default value for the new
column. Per report from Craig Perras.
2005-01-24 23:22:13 +00:00
Tom Lane
49b35eb14b
Disallow LOAD to non-superusers. Per report from John Heasman.
2005-01-24 17:46:29 +00:00
Tom Lane
f50e08a998
Fix memory leak in rtdosplit, per report from Clive Page.
2005-01-24 02:47:52 +00:00
Neil Conway
8e423d32cd
pg_autovacuum fixes from Dave Page:
...
- Dependency services may not be correctly registered when installing as
a Windows Service.
- The sleep time is changed from milliseconds to seconds as it should
be.
- Error messages during service installation/removal are logged to
stderr.
2005-01-24 00:14:23 +00:00
Tom Lane
5b7a866b98
The result of a FULL or RIGHT join can't be assumed to be sorted by the
...
left input's sorting, because null rows may be inserted at various points.
Per report from Ferenc Lutischá¸n.
2005-01-23 02:22:34 +00:00
Bruce Momjian
3a4589056d
Add tools/find_gt_lt to find < and > in SGML source.
...
Lowercase some uppercase tags so tools is more reliable at finding
problems.
2005-01-23 00:38:05 +00:00