Michael Meskes [Wed, 2 Feb 2005 15:37:43 +0000 (15:37 +0000)]
Fixed bug in parsing of #line statement in declare section.
Bruce Momjian [Wed, 2 Feb 2005 13:41:18 +0000 (13:41 +0000)]
Remove pgsql_tmp directory FAQ item.
Neil Conway [Wed, 2 Feb 2005 06:36:02 +0000 (06:36 +0000)]
Add support for temporary views, including documentation and regression
tests. Contributed by Koju Iijima, review from Neil Conway, Gavin Sherry
and Tom Lane.
Also, fix error in description of WITH CHECK OPTION clause in the CREATE
VIEW reference page: it should be "CASCADED", not "CASCADE".
Neil Conway [Tue, 1 Feb 2005 23:28:40 +0000 (23:28 +0000)]
Fix a bug induced by the list-rewrite that resulted in incrementing the
command counter more than necessary. Per report from Michael Fuhr.
Tom Lane [Tue, 1 Feb 2005 23:08:13 +0000 (23:08 +0000)]
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 ...
Bruce Momjian [Tue, 1 Feb 2005 21:11:06 +0000 (21:11 +0000)]
Add Josh's performance page.
Tom Lane [Tue, 1 Feb 2005 19:35:14 +0000 (19:35 +0000)]
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.
Bruce Momjian [Tue, 1 Feb 2005 04:56:53 +0000 (04:56 +0000)]
Add FETCH/MOVE:
< * Change LIMIT/OFFSET to use int8
> * Change LIMIT/OFFSET and FETCH/MOVE to use int8
Bruce Momjian [Tue, 1 Feb 2005 04:54:43 +0000 (04:54 +0000)]
Add:
> * Allow GRANT/REVOKE permissions to be inherited by objects based on
> schema permissions
Bruce Momjian [Tue, 1 Feb 2005 02:40:50 +0000 (02:40 +0000)]
Final FAQ cleanups to remove information about very old releases.
Bruce Momjian [Tue, 1 Feb 2005 02:35:48 +0000 (02:35 +0000)]
Remove outer join simulation using UNION now that we have had outer
joins for quite a long time.
Bruce Momjian [Tue, 1 Feb 2005 02:31:59 +0000 (02:31 +0000)]
Remove FAQ about database terms.
Bruce Momjian [Tue, 1 Feb 2005 01:41:37 +0000 (01:41 +0000)]
Remove FAQ mention of DROP column.
Bruce Momjian [Tue, 1 Feb 2005 01:36:13 +0000 (01:36 +0000)]
Update LIMIT/FETCH FAQ item.
Tom Lane [Tue, 1 Feb 2005 00:59:09 +0000 (00:59 +0000)]
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.
Bruce Momjian [Tue, 1 Feb 2005 00:19:15 +0000 (00:19 +0000)]
Update connections FAQ item.
Bruce Momjian [Mon, 31 Jan 2005 22:59:06 +0000 (22:59 +0000)]
Fix markup typo.
Bruce Momjian [Mon, 31 Jan 2005 22:58:00 +0000 (22:58 +0000)]
Update debeug FAQ.
Bruce Momjian [Mon, 31 Jan 2005 22:57:17 +0000 (22:57 +0000)]
Restructure debug FAQ entry.
Bruce Momjian [Mon, 31 Jan 2005 20:40:46 +0000 (20:40 +0000)]
Reorganize FAQ entry on performance.
Bruce Momjian [Mon, 31 Jan 2005 02:45:32 +0000 (02:45 +0000)]
Update admin tools FAQ.
Bruce Momjian [Mon, 31 Jan 2005 02:43:11 +0000 (02:43 +0000)]
Update PHP mention.
Bruce Momjian [Mon, 31 Jan 2005 02:40:00 +0000 (02:40 +0000)]
Remove "Support" FAQ item. We now have a tab on our web site.
Bruce Momjian [Mon, 31 Jan 2005 02:19:23 +0000 (02:19 +0000)]
Wording improvement.
Bruce Momjian [Mon, 31 Jan 2005 02:17:11 +0000 (02:17 +0000)]
Reorder support FAQ items.
Bruce Momjian [Mon, 31 Jan 2005 02:09:34 +0000 (02:09 +0000)]
Update section to mention developer's FAQ.
Bruce Momjian [Mon, 31 Jan 2005 01:59:54 +0000 (01:59 +0000)]
Mention releases are every 10-12 months now.
Bruce Momjian [Mon, 31 Jan 2005 01:53:49 +0000 (01:53 +0000)]
Simplify FAQ item about obtaining support.
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.