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.