Tom Lane [Tue, 23 Jan 2007 20:45:28 +0000 (20:45 +0000)]
Update xindex.sgml to discuss operator families.
Tom Lane [Tue, 23 Jan 2007 17:54:50 +0000 (17:54 +0000)]
Update pg_dump to support dumping operator families.
Bruce Momjian [Tue, 23 Jan 2007 16:21:17 +0000 (16:21 +0000)]
Add comment about exception lists in both winnt.h and ntstatus.h.
Alvaro Herrera [Tue, 23 Jan 2007 15:44:11 +0000 (15:44 +0000)]
This patch is required for vcbuild to work after the changes to
pg_proc.h (it's the same changes that's in gen_fmgrtab.sh in the unix
build).
Patch from Magnus Hagander.
Tom Lane [Tue, 23 Jan 2007 05:07:18 +0000 (05:07 +0000)]
Add CREATE/ALTER/DROP OPERATOR FAMILY commands, also COMMENT ON OPERATOR
FAMILY; and add FAMILY option to CREATE OPERATOR CLASS to allow adding a
class to a pre-existing family. Per previous discussion. Man, what a
tedious lot of cutting and pasting ...
Bruce Momjian [Tue, 23 Jan 2007 03:31:33 +0000 (03:31 +0000)]
Remove newline from error message because URL is gone.
Bruce Momjian [Tue, 23 Jan 2007 03:28:49 +0000 (03:28 +0000)]
Back out use of FormatMessage(), does error values, not exception
values. Point to /include/ntstatus.h for an exception list, rather than
a URL.
Bruce Momjian [Tue, 23 Jan 2007 01:45:11 +0000 (01:45 +0000)]
Print meaningfull error text for abonormal process exit on Win32, rather
than hex codes, using FormatMessage().
Bruce Momjian [Mon, 22 Jan 2007 23:06:37 +0000 (23:06 +0000)]
Update my email address in FAQ.
Tom Lane [Mon, 22 Jan 2007 20:00:40 +0000 (20:00 +0000)]
Put back planner's ability to cache the results of mergejoinscansel(),
which I had removed in the first cut of the EquivalenceClass rewrite to
simplify that patch a little. But it's still important --- in a four-way
join problem mergejoinscansel() was eating about 40% of the planning time
according to gprof. Also, improve the EquivalenceClass code to re-use
join RestrictInfos rather than generating fresh ones for each join
considered. This saves some memory space but more importantly improves
the effectiveness of caching planning info in RestrictInfos.
Bruce Momjian [Mon, 22 Jan 2007 19:38:05 +0000 (19:38 +0000)]
Use errhint() for WIN32 SIGTERM message, where possible.
Bruce Momjian [Mon, 22 Jan 2007 18:32:57 +0000 (18:32 +0000)]
Uppercase hex value.
Bruce Momjian [Mon, 22 Jan 2007 18:31:51 +0000 (18:31 +0000)]
When system() fails in Win32, report it as an exception, print the
exception value in hex, and give a URL where the value can be looked-up.
Bruce Momjian [Mon, 22 Jan 2007 02:47:56 +0000 (02:47 +0000)]
Update documenation instructions. on how to delete template1.
Tom Lane [Mon, 22 Jan 2007 02:17:30 +0000 (02:17 +0000)]
Adjust pgbench so it won't spit up on non-select queries returning
tuples, which is entirely possible with custom scripts (consider
RETURNING, EXPLAIN, etc).
Tom Lane [Mon, 22 Jan 2007 01:35:23 +0000 (01:35 +0000)]
Add COST and ROWS options to CREATE/ALTER FUNCTION, plus underlying pg_proc
columns procost and prorows, to allow simple user adjustment of the estimated
cost of a function call, as well as control of the estimated number of rows
returned by a set-returning function. We might eventually wish to extend this
to allow function-specific estimation routines, but there seems to be
consensus that we should try a simple constant estimate first. In particular
this provides a relatively simple way to control the order in which different
WHERE clauses are applied in a plan node, which is a Good Thing in view of the
fact that the recent EquivalenceClass planner rewrite made that much less
predictable than before.
Peter Eisentraut [Sun, 21 Jan 2007 09:23:29 +0000 (09:23 +0000)]
Remove some unused variables
Peter Eisentraut [Sun, 21 Jan 2007 09:19:06 +0000 (09:19 +0000)]
Put back libpq link, but make sure that libpq's in-tree directory is
mentioned before the system directories.
Tom Lane [Sun, 21 Jan 2007 00:57:15 +0000 (00:57 +0000)]
Refactor some lsyscache routines to eliminate duplicate code and save
a couple of syscache lookups in make_pathkey_from_sortinfo().
Bruce Momjian [Sat, 20 Jan 2007 23:18:38 +0000 (23:18 +0000)]
Add bitmap index URL:
>
> http://archives.postgresql.org/pgsql-hackers/2006-12/msg01107.php
Tom Lane [Sat, 20 Jan 2007 23:13:01 +0000 (23:13 +0000)]
Simplify pg_am representation of ordering-capable access methods:
provide just a boolean 'amcanorder', instead of fields that specify the
sort operator strategy numbers. We have decided to require ordering-capable
AMs to use btree-compatible strategy numbers, so the old fields are
overkill (and indeed misleading about what's allowed).
Bruce Momjian [Sat, 20 Jan 2007 23:08:20 +0000 (23:08 +0000)]
Add URL for dead space map:
>
> http://archives.postgresql.org/pgsql-hackers/2006-12/msg01188.php
> http://archives.postgresql.org/pgsql-hackers/2007-01/msg00121.php
Neil Conway [Sat, 20 Jan 2007 21:59:34 +0000 (21:59 +0000)]
Update docs for recent change to setseed() return value.
Neil Conway [Sat, 20 Jan 2007 21:47:10 +0000 (21:47 +0000)]
Make setseed() return void, rather than an int4 without any use. Per
pgsql-patches discussion of September 20, 2006. Bump the catversion.
Bruce Momjian [Sat, 20 Jan 2007 21:42:03 +0000 (21:42 +0000)]
Add documentation of memory and time units to postgresql.conf.
Backpatch to 8.2.X for new initdbs.
Tom Lane [Sat, 20 Jan 2007 21:40:25 +0000 (21:40 +0000)]
Don't use 'int' where you mean 'bool'.
Bruce Momjian [Sat, 20 Jan 2007 21:30:26 +0000 (21:30 +0000)]
Update documentation about postgresqlconf to mention default units that
match the postgresql.conf file. Also add units to descriptions that
lacked them. Wording improvements. Mention pg_settings.unit as the way
to find the default units for setting.
Backpatch to 8.2.X.
Tom Lane [Sat, 20 Jan 2007 21:30:01 +0000 (21:30 +0000)]
Fix broken markup.