Bruce Momjian [Mon, 31 Jan 2005 01:38:10 +0000 (01:38 +0000)]
Clarify license FAQ item.
Bruce Momjian [Mon, 31 Jan 2005 01:26:31 +0000 (01:26 +0000)]
Modernize the FAQ item "What is PostgreSQL" to skip most historical
information.
Tom Lane [Sun, 30 Jan 2005 21:31:48 +0000 (21:31 +0000)]
Recommend security@postgresql.org as the contact point for security-related bugs.
Bruce Momjian [Sun, 30 Jan 2005 04:45:01 +0000 (04:45 +0000)]
Update FAQ text file.
Bruce Momjian [Sun, 30 Jan 2005 04:44:11 +0000 (04:44 +0000)]
FAQ markup fixes.
Bruce Momjian [Sun, 30 Jan 2005 04:25:26 +0000 (04:25 +0000)]
Fix ampersand in URL.
Bruce Momjian [Sun, 30 Jan 2005 04:20:52 +0000 (04:20 +0000)]
Remove IN/slow FAQ item because it only applies to <=7.3.X.
Bruce Momjian [Sun, 30 Jan 2005 04:16:11 +0000 (04:16 +0000)]
Remove GEQO and Rtree FAQ items.
Bruce Momjian [Sun, 30 Jan 2005 04:06:26 +0000 (04:06 +0000)]
More index item rewording.kUpdate FAQ.
Bruce Momjian [Sun, 30 Jan 2005 04:05:15 +0000 (04:05 +0000)]
Reword index/slow query item.
Bruce Momjian [Sun, 30 Jan 2005 04:03:02 +0000 (04:03 +0000)]
Remove FAQ item about binary cursors.
Bruce Momjian [Sun, 30 Jan 2005 04:00:19 +0000 (04:00 +0000)]
Remove FAQ items about IPC errors. We now report the help description
right in the failure. We can always re-add it if required.
Bruce Momjian [Sun, 30 Jan 2005 03:52:46 +0000 (03:52 +0000)]
Merge two Interfaces FAQ items into one.
Bruce Momjian [Sun, 30 Jan 2005 02:22:08 +0000 (02:22 +0000)]
Merge unix and non-unix platform faq items, and remove Y2K item.
Bruce Momjian [Sun, 30 Jan 2005 02:06:33 +0000 (02:06 +0000)]
Update OID item description.
Tom Lane [Sun, 30 Jan 2005 01:26:41 +0000 (01:26 +0000)]
Preliminary release notes for 8.0.1, 7.4.7, 7.3.9, 7.2.7.
Tom Lane [Sat, 29 Jan 2005 23:45:36 +0000 (23:45 +0000)]
We haven't had a fixed limit on rule recursion depth since 7.3 ...
but the documentation still said so.
Tom Lane [Sat, 29 Jan 2005 22:35:02 +0000 (22:35 +0000)]
Make sure contrib C functions are marked strict where needed.
Kris Jurka
Tom Lane [Fri, 28 Jan 2005 23:12:59 +0000 (23:12 +0000)]
Add documentation for format_type(), which somehow escaped it before.
Tom Lane [Fri, 28 Jan 2005 22:38:37 +0000 (22:38 +0000)]
Add note cautioning that you can't use an encrypting IDENT server
with Postgres.
Tom Lane [Fri, 28 Jan 2005 20:34:27 +0000 (20:34 +0000)]
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.
Tom Lane [Fri, 28 Jan 2005 19:34:28 +0000 (19:34 +0000)]
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.
Tom Lane [Fri, 28 Jan 2005 17:35:53 +0000 (17:35 +0000)]
pg_aggregate.h fails to compile standalone, for lack of an #include
defining List.
Tom Lane [Fri, 28 Jan 2005 00:34:32 +0000 (00:34 +0000)]
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.
Tom Lane [Thu, 27 Jan 2005 23:42:18 +0000 (23:42 +0000)]
Check that aggregate creator has the right to execute the transition
functions of the aggregate, at both aggregate creation and execution times.
Neil Conway [Thu, 27 Jan 2005 23:36:15 +0000 (23:36 +0000)]
Small patch to move get_grosysid() from catalog/aclchk.c to
utils/cache/lsyscache.c where it can be used by other things. Also
cleans up both get_usesysid() and get_grosysid() a bit. From Stephen
Frost.
Neil Conway [Thu, 27 Jan 2005 23:24:11 +0000 (23:24 +0000)]
Change heap_modifytuple() to require a TupleDesc rather than a
Relation. Patch from Alvaro Herrera, minor editorializing by
Neil Conway.
Tom Lane [Thu, 27 Jan 2005 21:49:57 +0000 (21:49 +0000)]
Now that I look at it, int_array_enum() didn't work either.
Tom Lane [Thu, 27 Jan 2005 21:35:40 +0000 (21:35 +0000)]
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.
Teodor Sigaev [Thu, 27 Jan 2005 14:14:01 +0000 (14:14 +0000)]
Add intset() to README
Neil Conway [Thu, 27 Jan 2005 06:36:42 +0000 (06:36 +0000)]
Provide a more descriptive error message when the return type of an SRF
does not match what the query expected. From Brendan Jurd, minor
editorializing by Neil Conway.
Tom Lane [Thu, 27 Jan 2005 03:19:37 +0000 (03:19 +0000)]
Generalize TRUNCATE to support truncating multiple tables in one
command. This is useful because we can allow truncation of tables
referenced by foreign keys, so long as the referencing table is
truncated in the same command.
Alvaro Herrera
Neil Conway [Thu, 27 Jan 2005 01:32:00 +0000 (01:32 +0000)]
Add regression tests for recent cursor/savepoint bug fixed by Alvaro and
Tom.
Tom Lane [Wed, 26 Jan 2005 23:20:21 +0000 (23:20 +0000)]
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.
Tom Lane [Wed, 26 Jan 2005 22:25:13 +0000 (22:25 +0000)]
Adjust Windows autovacuum service to retry for up to 5 minutes waiting
for the postmaster to start. Dave Page
Tom Lane [Wed, 26 Jan 2005 21:55:26 +0000 (21:55 +0000)]
On Windows, set the postmaster executable's stack size to 4MB, so that
it agrees with the default value of max_stack_depth.
Tom Lane [Wed, 26 Jan 2005 21:24:12 +0000 (21:24 +0000)]
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 ...
Tom Lane [Wed, 26 Jan 2005 20:42:19 +0000 (20:42 +0000)]
Add docs for a couple of formerly-undocumented geometric conversion functions.
Tom Lane [Wed, 26 Jan 2005 19:44:43 +0000 (19:44 +0000)]
Make pg_dump and pg_restore handle binary archive formats correctly
when using stdout/stdin on Windows.
Tom Lane [Wed, 26 Jan 2005 19:24:03 +0000 (19:24 +0000)]
Use SHGetFolderPath instead of SHGetSpecialFolderPath to find the
APPDATA directory on Windows. Magnus Hagander
Tom Lane [Wed, 26 Jan 2005 18:49:39 +0000 (18:49 +0000)]
Avoid unnecessary dependence on u_int16_t, per buildfarm failure.
(It doesn't compile on HPUX either...)
Neil Conway [Wed, 26 Jan 2005 08:04:04 +0000 (08:04 +0000)]
The attached patch implements the soundex difference function which
compares two strings' soundex values for similarity, from Kris Jurka.
Also mark the text_soundex() function as STRICT, to avoid crashing
on NULL input.
Tom Lane [Tue, 25 Jan 2005 22:44:31 +0000 (22:44 +0000)]
Fix breakage created by addition of separate 'acl pass' in pg_dump.
Also clean up incredibly poor style in TocIDRequired() usage.
Peter Eisentraut [Tue, 25 Jan 2005 17:32:00 +0000 (17:32 +0000)]
Add missing "ko".
Teodor Sigaev [Tue, 25 Jan 2005 15:24:38 +0000 (15:24 +0000)]
improve support of agglutinative languages (query with compound words).
regression=# select to_tsquery( '\'fotballklubber\'');
to_tsquery
------------------------------------------------
'fotball' & 'klubb' | 'fot' & 'ball' & 'klubb'
(1 row)
So, changed interface to dictionaries, lexize method of dictionary shoud return
pointer to aray of TSLexeme structs instead of char**. Last element should
have TSLexeme->lexeme == NULL.
typedef struct {
/* number of variant of split word , for example
Word 'fotballklubber' (norwegian) has two varian to split:
( fotball, klubb ) and ( fot, ball, klubb ). So, dictionary
should return:
nvariant lexeme
1 fotball
1 klubb
2 fot
2 ball
2 klubb
*/
uint16 nvariant;
/* currently unused */
uint16 flags;
/* C-string */
char *lexeme;
} TSLexeme;
Michael Meskes [Tue, 25 Jan 2005 12:51:31 +0000 (12:51 +0000)]
Fixed segfault due to freeing a struct definition twice if it was a named struct used in a typedef.
Teodor Sigaev [Tue, 25 Jan 2005 12:36:25 +0000 (12:36 +0000)]
Change
typedef struct {} WordEntryPos;
to
typedef uint16 WordEntryPos
according to http://www.pgsql.ru/db/mw/msg.html?mid=
2035188
Require re-fill all tsvector fields and reindex tsvector indexes.
Neil Conway [Tue, 25 Jan 2005 03:22:19 +0000 (03:22 +0000)]
Regression tests for recent bugfix to ALTER TABLE ADD COLUMN: ensure that
constraints on domain types are properly enforced, even if the newly
added column has no default value. Per bug #1433.
Tom Lane [Mon, 24 Jan 2005 23:21:57 +0000 (23:21 +0000)]
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.
Tom Lane [Mon, 24 Jan 2005 17:46:16 +0000 (17:46 +0000)]
Disallow LOAD to non-superusers. Per report from John Heasman.
Tom Lane [Mon, 24 Jan 2005 02:47:26 +0000 (02:47 +0000)]
Fix memory leak in rtdosplit, per report from Clive Page.
Neil Conway [Mon, 24 Jan 2005 00:17:33 +0000 (00:17 +0000)]
Fix typo.
Neil Conway [Mon, 24 Jan 2005 00:13:38 +0000 (00:13 +0000)]
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.
Bruce Momjian [Sun, 23 Jan 2005 15:58:50 +0000 (15:58 +0000)]
Document why CREATE CONSTRAINT TRIGGER doesn't tab complete.
Tom Lane [Sun, 23 Jan 2005 02:21:36 +0000 (02:21 +0000)]
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.
Bruce Momjian [Sun, 23 Jan 2005 00:30:59 +0000 (00:30 +0000)]
Add tools/find_gt_lt to find < and > in SGML source.
Lowercase some uppercase tags so tools is more reliable at finding
problems.
Tom Lane [Sun, 23 Jan 2005 00:30:26 +0000 (00:30 +0000)]
pg_dump dumped the wrong tablespace for an index (ie, the parent table's
tablespace instead of the index's own), except when the index was created
as a constraint. Report and fix by Tanida Yutaka.
Tom Lane [Sun, 23 Jan 2005 00:03:54 +0000 (00:03 +0000)]
New routine _getObjectDescription() failed to cope with some aspects of
pre-7.3 pg_dump archive files: namespace isn't there, and in some cases
te->tag may already be quotified. Per report from Alan Pevec and
followup testing.
Bruce Momjian [Sat, 22 Jan 2005 23:39:21 +0000 (23:39 +0000)]
Mention issue with < and > in docs.
Bruce Momjian [Sat, 22 Jan 2005 23:22:19 +0000 (23:22 +0000)]
More < and > changes to ampersands.
8.0.X and HEAD.
Bruce Momjian [Sat, 22 Jan 2005 22:56:36 +0000 (22:56 +0000)]
More < and > cleanups converted to ampersands.
Bruce Momjian [Sat, 22 Jan 2005 22:31:52 +0000 (22:31 +0000)]
More fixes for => and ->, use proper ampersand markups.
Bruce Momjian [Sat, 22 Jan 2005 22:14:14 +0000 (22:14 +0000)]
Update version restriction on xml2.
Bruce Momjian [Sat, 22 Jan 2005 22:06:27 +0000 (22:06 +0000)]
Change -> and <- to use proper ampersand markups.
HEAD and 8.0.X.
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