Bruce Momjian [Sat, 22 Jan 2005 21:21:34 +0000 (21:21 +0000)]
Fix README /contrib/xml2 reference in 8.0 and HEAD.
Bruce Momjian [Sat, 22 Jan 2005 20:05:23 +0000 (20:05 +0000)]
Update count(*) discussion ideas:
< BY col {DESC} LIMIT 1. Completing this item involves making this
> BY col {DESC} LIMIT 1. Completing this item involves doing this
< invalidated if anyone modifies the table.
<
> invalidated if anyone modifies the table. Another idea is to
> get a count directly from a unique index, but for this to be
> faster than a sequential scan it must avoid access to the heap
> to obtain tuple visibility information.
>
> * Allow data to be pulled directly from indexes
>
> Currently indexes do not have enough tuple tuple visibility
> information to allow data to be pulled from the index without
> also accessing the heap. One way to allow this is to set a bit
> to index tuples to indicate if a tuple is currently visible to
> all transactions when the first valid heap lookup happens. This
> bit would have to be cleared when a heap tuple is expired.
>
Neil Conway [Sat, 22 Jan 2005 05:12:33 +0000 (05:12 +0000)]
This patch updates the regression tests to allow "make installcheck" to
pass if "default_with_oids" is set to false. I took the approach of
explicitly adding WITH OIDS to the CREATE TABLEs where necessary, rather
than tweaking the default_with_oids GUC var.
Neil Conway [Thu, 20 Jan 2005 22:54:57 +0000 (22:54 +0000)]
Trivial fix: remove some stray leading whitespace.
Neil Conway [Wed, 19 Jan 2005 23:45:24 +0000 (23:45 +0000)]
Refactor transformExpr() by creating separate functions for most of the
expression types.
Bruce Momjian [Wed, 19 Jan 2005 19:45:52 +0000 (19:45 +0000)]
Document that Rekall is GPL now.
Bruce Momjian [Wed, 19 Jan 2005 14:17:48 +0000 (14:17 +0000)]
Add:
> * Add 'tid != tid ' operator for use in corruption recovery
Neil Conway [Wed, 19 Jan 2005 04:32:40 +0000 (04:32 +0000)]
Add some basic regression tests for refcursors in PL/PgSQL.
Bruce Momjian [Wed, 19 Jan 2005 03:13:07 +0000 (03:13 +0000)]
Fix typo.
Neil Conway [Tue, 18 Jan 2005 23:25:55 +0000 (23:25 +0000)]
This patch makes some improvements to the rtree index implementation:
(1) Keep a pin on the scan's current buffer and mark buffer. This
avoids the need to do a ReadBuffer() for each tuple produced by the
scan. Since ReadBuffer() is expensive, this is a significant win.
(2) Convert a ReleaseBuffer(); ReadBuffer() pair into
ReleaseAndReadBuffer(). Surely not a huge win, but it saves a lock
acquire/release...
(3) Remove a bunch of duplicated code in rtget.c; make rtnext() handle
both the "initial result" and "subsequent result" cases.
(4) Add support for index tuple killing
(5) Remove rtscancache(): it is dead code, for the same reason that
gistscancache() is dead code (an index scan ought not be invoked with
NoMovementScanDirection).
The end result is about a 10% improvement in rtree index scan perf,
according to contrib/rtree_gist/bench.
Neil Conway [Tue, 18 Jan 2005 22:59:32 +0000 (22:59 +0000)]
Replace the use of "0" with "NULL" where appropriate in dllist.c, for
good style and to satisfy sparse. From Alvaro Herrera.
Bruce Momjian [Tue, 18 Jan 2005 14:39:46 +0000 (14:39 +0000)]
Win32 8.1 stamp.
Bruce Momjian [Tue, 18 Jan 2005 05:23:36 +0000 (05:23 +0000)]
Stamp 8.1 in configure.
Bruce Momjian [Tue, 18 Jan 2005 05:00:35 +0000 (05:00 +0000)]
Update version stamps for 8.1 as listed in RELEASE_CHANGES.
Peter Eisentraut [Mon, 17 Jan 2005 21:21:18 +0000 (21:21 +0000)]
Translation updates
PostgreSQL Daemon [Mon, 17 Jan 2005 20:47:10 +0000 (20:47 +0000)]
its that time ... tag it for release
Peter Eisentraut [Mon, 17 Jan 2005 20:27:44 +0000 (20:27 +0000)]
Translation updates
Tom Lane [Mon, 17 Jan 2005 18:47:15 +0000 (18:47 +0000)]
Clarify that the --enable-integer-datetimes switch affects the time and
interval datatypes as well as timestamp.
Bruce Momjian [Mon, 17 Jan 2005 17:29:49 +0000 (17:29 +0000)]
Please find enclosed another patch that now (I hope) really is
correct. It's in addition to the previous patch.
David Fetter
Peter Eisentraut [Mon, 17 Jan 2005 14:55:34 +0000 (14:55 +0000)]
Translation updates
Peter Eisentraut [Mon, 17 Jan 2005 10:00:06 +0000 (10:00 +0000)]
Translation updates
Peter Eisentraut [Mon, 17 Jan 2005 09:06:31 +0000 (09:06 +0000)]
Fix format string error.
Neil Conway [Mon, 17 Jan 2005 04:30:37 +0000 (04:30 +0000)]
Fix minor thinko in pg_dump documentation of "-n" option.
Bruce Momjian [Mon, 17 Jan 2005 04:27:23 +0000 (04:27 +0000)]
Spelling fix.
Neil Conway [Mon, 17 Jan 2005 03:39:37 +0000 (03:39 +0000)]
This trivial patch adds a regression test for CASE expressions that use
an untyped literal in the CASE's test expression. This adds test
coverage for a bug that was fixed by Tom on January 12.
Peter Eisentraut [Mon, 17 Jan 2005 03:09:08 +0000 (03:09 +0000)]
Translation updates
Peter Eisentraut [Mon, 17 Jan 2005 03:05:37 +0000 (03:05 +0000)]
New translation
Bruce Momjian [Mon, 17 Jan 2005 03:04:17 +0000 (03:04 +0000)]
Please find enclosed a patch to the pl/perl documents that correctly
tells what arguments go to pl/perl triggers.
David Fetter
Bruce Momjian [Mon, 17 Jan 2005 03:02:56 +0000 (03:02 +0000)]
Mention ALTER COLUMN TYPE in FAQ.
Bruce Momjian [Mon, 17 Jan 2005 02:42:31 +0000 (02:42 +0000)]
Update German FAQ.
Ian Barwick
Peter Eisentraut [Mon, 17 Jan 2005 02:41:50 +0000 (02:41 +0000)]
Translation updates
Bruce Momjian [Mon, 17 Jan 2005 02:40:56 +0000 (02:40 +0000)]
Update to 8.0.0 for packaging.
Peter Eisentraut [Mon, 17 Jan 2005 02:29:23 +0000 (02:29 +0000)]
Update supported platforms list.
Tom Lane [Mon, 17 Jan 2005 01:29:02 +0000 (01:29 +0000)]
Some more copy-editing.
Bruce Momjian [Sat, 15 Jan 2005 22:51:10 +0000 (22:51 +0000)]
Remove </a>
Alvaro
Bruce Momjian [Sat, 15 Jan 2005 22:44:18 +0000 (22:44 +0000)]
Update TORA item.
Euler Taveira de Oliveira
Bruce Momjian [Sat, 15 Jan 2005 22:14:08 +0000 (22:14 +0000)]
Update Brazilian FAQ.
Euler Taveira de Oliveira
Tom Lane [Sat, 15 Jan 2005 21:11:46 +0000 (21:11 +0000)]
Some minor editing work on the release notes.
Tom Lane [Sat, 15 Jan 2005 07:53:04 +0000 (07:53 +0000)]
Minor improvements in descriptions of recent changes.
Bruce Momjian [Sat, 15 Jan 2005 05:59:44 +0000 (05:59 +0000)]
Update release notes for 8.0.0 final. Release date set as 2005-01-19!
Tom Lane [Sat, 15 Jan 2005 05:43:06 +0000 (05:43 +0000)]
Adjust warning message about Windows console code page to point to
the right place in the docs, and gettext()ify it.
Bruce Momjian [Sat, 15 Jan 2005 05:19:01 +0000 (05:19 +0000)]
Merge query of system objects FAQ items.
Tom Lane [Sat, 15 Jan 2005 04:15:51 +0000 (04:15 +0000)]
pg_regress now needs to know that Windows hasn't got unix sockets,
per Andrew Dunstan. Also, don't override the user's value of PGHOST
in the 'make installcheck' case. I think the latter was an ill-considered
workaround for the Windows code back when libpq didn't properly default
to localhost on Unix-socket-less platforms.
Tom Lane [Sat, 15 Jan 2005 03:38:44 +0000 (03:38 +0000)]
Simplify trigger example, per Mark Kirkwood.
Kris Jurka [Fri, 14 Jan 2005 21:46:09 +0000 (21:46 +0000)]
Add index entries for function volatilities.
Tom Lane [Fri, 14 Jan 2005 21:08:44 +0000 (21:08 +0000)]
postgres -boot would print the wrong program name in event of a
failure in SelectConfigFiles(). Cosmetic issue, but ...
Tom Lane [Fri, 14 Jan 2005 17:53:33 +0000 (17:53 +0000)]
Update obsolete comment, per Alvaro.
Tom Lane [Fri, 14 Jan 2005 17:47:49 +0000 (17:47 +0000)]
Add missing gettext() calls in find_my_exec(). It's probably too late
to get these strings translated, but we may as well have them be
translatable as not.
Tom Lane [Fri, 14 Jan 2005 16:25:42 +0000 (16:25 +0000)]
plperl trigger handler tried to fetch new/old tuples even when fired
as a statement trigger :-(. Per report from Sokolov Yura.
Peter Eisentraut [Fri, 14 Jan 2005 08:57:06 +0000 (08:57 +0000)]
Translation updates
Tom Lane [Fri, 14 Jan 2005 01:16:52 +0000 (01:16 +0000)]
Incorporate examples and doc patches from Mark Kirkwood and David Fetter.
Bruce Momjian [Fri, 14 Jan 2005 00:25:56 +0000 (00:25 +0000)]
Change Win32 client configuration files from *.txt to *.conf.
Tom Lane [Thu, 13 Jan 2005 23:07:34 +0000 (23:07 +0000)]
Change exec_eval_simple_expr's param list allocation call from
MemoryContextAllocZero back to MemoryContextAlloc, same as it was in 7.4.
The zeroing is unnecessary since all the meaningful fields are filled in
just below. I had made it do that out of neatnik-ism, but some testing
with an example provided by Pavel Stehule showed that the zeroing was
accounting for about 5% of the runtime in a compute-intensive plpgsql
function. That seems a bit high of a price for neatnik-ism...
Peter Eisentraut [Thu, 13 Jan 2005 21:24:40 +0000 (21:24 +0000)]
Translation updates
Peter Eisentraut [Thu, 13 Jan 2005 21:13:33 +0000 (21:13 +0000)]
Update supported platforms list.
Peter Eisentraut [Thu, 13 Jan 2005 19:06:37 +0000 (19:06 +0000)]
Translation updates
Tom Lane [Thu, 13 Jan 2005 18:23:22 +0000 (18:23 +0000)]
Adjust src/tutorial Makefile so that it can use pgxs. This allows the
tutorial to be used without necessarily having a configured source tree.
Tom Lane [Thu, 13 Jan 2005 17:19:10 +0000 (17:19 +0000)]
get_names_for_var didn't do recursion for unnamed JOIN vars quite right;
got it wrong when the JOIN was in an outer query level. Per example from
Laurie Burrow. Also fix same issue in markTargetListOrigin. I think the
latter is only a latent bug since we currently don't apply markTargetListOrigin
except at the outer level ... but should do it right anyway.
Bruce Momjian [Thu, 13 Jan 2005 03:08:14 +0000 (03:08 +0000)]
Update of Japanese FAQ.
Jun Kuwamura
Tom Lane [Thu, 13 Jan 2005 01:40:13 +0000 (01:40 +0000)]
Remove unportable assumption that it's okay to use the target buffer
of an sprintf() as a source string. Demonstrably does not work with
recent gcc and/or glibc on some platforms.
Tom Lane [Wed, 12 Jan 2005 21:37:54 +0000 (21:37 +0000)]
Add conditional inclusion of <com_err.h> to support old 'heimdal'
version of Kerberos. Per report from Reinhard Max.
Tom Lane [Wed, 12 Jan 2005 17:32:36 +0000 (17:32 +0000)]
Re-allow an untyped literal as the test expression of a CASE, ie
CASE 'a' WHEN 'a' THEN 1 ELSE 2 END. This worked in 7.4 and before
but had been broken due to premature freezing of the type of the test
expression. Per gripe from GÄbor SzÃcs.
Tom Lane [Wed, 12 Jan 2005 16:38:17 +0000 (16:38 +0000)]
Increase MAXLISTEN to a more generous value, and add an error message
telling when it has been exceeded. Per trouble report from
Jean-GÃ…rard Pailloncy.
Tom Lane [Wed, 12 Jan 2005 16:19:51 +0000 (16:19 +0000)]
Ensure that the test postmaster started by 'make check' listens to as
few 'listen_addresses' as possible --- on most systems, none at all,
just the Unix socket. This avoids spurious check failures due to bogus
DNS setups, and is probably a good idea from a security standpoint anyway.
Per trouble report from Jean-GÃ…rard Pailloncy.
Tom Lane [Tue, 11 Jan 2005 18:33:46 +0000 (18:33 +0000)]
interval_out failed to mention 'ago' for negative intervals in SQL and
GERMAN datestyles. Ancient bug reported by Terry Lee Tucker.
Tom Lane [Tue, 11 Jan 2005 17:55:25 +0000 (17:55 +0000)]
Fix tracking of dump-order dependencies for stand-alone composite types.
Per report from Robert Koepferl.
Teodor Sigaev [Tue, 11 Jan 2005 16:07:55 +0000 (16:07 +0000)]
Fixes:
1 Report error message instead of do nothing in case of error in regex
2 Malloced storage for mask, find and repl part of Affix. This parts may be
large enough in real life (for example in czech, thanks to moje <moje@kalhotky.net>)
Tom Lane [Tue, 11 Jan 2005 06:08:45 +0000 (06:08 +0000)]
plperl was not being quite paranoid enough about detecting 'undef' values
returned by Perl. Per report from Nicolas Addington.
PostgreSQL Daemon [Tue, 11 Jan 2005 05:29:21 +0000 (05:29 +0000)]
up release to rc5
Tom Lane [Tue, 11 Jan 2005 05:14:13 +0000 (05:14 +0000)]
Clean up pg_dump's handling of ownership for indexes (including
pkey/unique constraint indexes) and schemas. Per report from
Michael Fuhr.
Tom Lane [Mon, 10 Jan 2005 21:57:19 +0000 (21:57 +0000)]
Separate the functions of relcache entry flush and smgr cache entry flush
so that we can get the size of a shared inval message back down to what it
was in 7.4 (and simplify the logic too). Phase 2 of fixing the
'SMgrRelation hashtable corrupted' problem.
Tom Lane [Mon, 10 Jan 2005 20:02:24 +0000 (20:02 +0000)]
Phase 1 of fix for 'SMgrRelation hashtable corrupted' problem. This
is the minimum required fix. I want to look next at taking advantage of
it by simplifying the message semantics in the shared inval message queue,
but that part can be held over for 8.1 if it turns out too ugly.
Michael Meskes [Mon, 10 Jan 2005 12:58:30 +0000 (12:58 +0000)]
Fixed segfault in adjust_informix due to missing varchar type.
Peter Eisentraut [Mon, 10 Jan 2005 09:01:04 +0000 (09:01 +0000)]
Update supported platforms list.
Peter Eisentraut [Mon, 10 Jan 2005 08:21:43 +0000 (08:21 +0000)]
Small polishing of bug reporting template
Peter Eisentraut [Mon, 10 Jan 2005 08:14:35 +0000 (08:14 +0000)]
Translation updates
Tom Lane [Mon, 10 Jan 2005 00:37:12 +0000 (00:37 +0000)]
Comment out check for substitution of private key file on Windows,
since st_ino can't be trusted on that platform. Per report from T.J.
Tom Lane [Mon, 10 Jan 2005 00:19:51 +0000 (00:19 +0000)]
Un-break MSVC build, per Andrew Dunstan.
Tom Lane [Mon, 10 Jan 2005 00:04:43 +0000 (00:04 +0000)]
Add some real documentation about TOAST (finally). Combine this with
the old 'page' chapter and the recently added 'filelayout' chapter to
make a coherent chapter about PostgreSQL's physical storage layout.
Tom Lane [Sun, 9 Jan 2005 21:03:19 +0000 (21:03 +0000)]
Undo an unadvertised change in the API of pg_atoi. In all previous
releases, a nonzero 'c' argument meant that the input string could be
terminated by either that character or \0. Recent refactoring broke
that, causing the thing to scan for 'c' only. This went undetected
because no part of the main code actually passes nonzero 'c'. However
it broke tsearch2 and possibly other user-written code that assumed
the old definition. Per report from Tom Hebbron.
Tom Lane [Sun, 9 Jan 2005 20:08:50 +0000 (20:08 +0000)]
Clarify description of greedy and non-greedy POSIX regular expressions,
per discussion in Nov 2004 with Ken Tanzer.
Bruce Momjian [Sun, 9 Jan 2005 19:44:25 +0000 (19:44 +0000)]
Update OS/2 URL.
Tom Lane [Sun, 9 Jan 2005 18:58:10 +0000 (18:58 +0000)]
Last batch of updates in response to 7.4 interactive docs comments.
Tom Lane [Sun, 9 Jan 2005 17:47:30 +0000 (17:47 +0000)]
Update discussion of ALTER TABLE ADD COLUMN, per Michael Fuhr.
Tom Lane [Sun, 9 Jan 2005 17:40:40 +0000 (17:40 +0000)]
Fix segfault when xpath_list function is applied to an invalid document.
John Gray
Peter Eisentraut [Sun, 9 Jan 2005 17:38:19 +0000 (17:38 +0000)]
New translations
Peter Eisentraut [Sun, 9 Jan 2005 17:32:05 +0000 (17:32 +0000)]
Translation updates
Peter Eisentraut [Sun, 9 Jan 2005 17:10:29 +0000 (17:10 +0000)]
New translation
Peter Eisentraut [Sun, 9 Jan 2005 17:07:27 +0000 (17:07 +0000)]
Translation updates
Tom Lane [Sun, 9 Jan 2005 05:57:45 +0000 (05:57 +0000)]
Some more small improvements in response to 7.4 interactive docs comments.
Tom Lane [Sat, 8 Jan 2005 22:51:15 +0000 (22:51 +0000)]
Consistently use geteuid() not getuid(); there were a few places deviating
from our long-established standard.
Tom Lane [Sat, 8 Jan 2005 22:13:38 +0000 (22:13 +0000)]
Some more small improvements in response to 7.4 interactive docs comments.
Peter Eisentraut [Sat, 8 Jan 2005 09:54:47 +0000 (09:54 +0000)]
Update supported platforms list.
Peter Eisentraut [Sat, 8 Jan 2005 09:54:29 +0000 (09:54 +0000)]
New version of mkinstalldirs fixes problems on Tru64 UNIX.
Tom Lane [Sat, 8 Jan 2005 05:19:18 +0000 (05:19 +0000)]
Some small docs improvements motivated by reading the comments for the 7.4
7.4 interactive docs.
Bruce Momjian [Sat, 8 Jan 2005 03:59:04 +0000 (03:59 +0000)]
Remove mp3 that is now missing.
Tom Lane [Sat, 8 Jan 2005 01:44:08 +0000 (01:44 +0000)]
Some small docs improvements motivated by reading the comments for the
7.4 interactive docs.
Tom Lane [Fri, 7 Jan 2005 23:59:17 +0000 (23:59 +0000)]
Improve comments in sample config files.
Tom Lane [Fri, 7 Jan 2005 23:08:44 +0000 (23:08 +0000)]
Add a tip showing how functions on composite types can be used to
emulate computed fields. I suppose this is why the Berkeley boys made
it work that way in the first place, but the docs never said so anyplace.
Tom Lane [Fri, 7 Jan 2005 22:40:46 +0000 (22:40 +0000)]
Improve discussion of SQL functions taking/returning row types.