]> granicus.if.org Git - postgresql/log
postgresql
19 years agoFixed bug in parsing of CREATE AS statement.
Michael Meskes [Wed, 9 Feb 2005 11:26:44 +0000 (11:26 +0000)]
Fixed bug in parsing of CREATE AS statement.

19 years agoSpacing:
Bruce Momjian [Tue, 8 Feb 2005 03:23:51 +0000 (03:23 +0000)]
Spacing:

< *  Allow the PITR process to be debugged and data examined
> * Allow the PITR process to be debugged and data examined

19 years agoIt seems like most people don't want automatic failover so I am removing
Bruce Momjian [Tue, 8 Feb 2005 03:21:02 +0000 (03:21 +0000)]
It seems like most people don't want automatic failover so I am removing
the item:

<  o Automatic failover
<
<    The proper solution to this will probably the use of a master/slave
<    replication solution like Sloney and a connection pooling tool like
<    pgpool.
<

19 years agoBetter late than never: document that the GiST API changed in 8.0 in the
Neil Conway [Sun, 6 Feb 2005 22:31:50 +0000 (22:31 +0000)]
Better late than never: document that the GiST API changed in 8.0 in the
"incompatibilities" section of the release notes.

19 years agoDocument array behavior for out-of-range subscripts.
Tom Lane [Sun, 6 Feb 2005 20:59:30 +0000 (20:59 +0000)]
Document array behavior for out-of-range subscripts.

19 years agoRepair CLUSTER failure after ALTER TABLE SET WITHOUT OIDS. Turns out
Tom Lane [Sun, 6 Feb 2005 20:19:08 +0000 (20:19 +0000)]
Repair CLUSTER failure after ALTER TABLE SET WITHOUT OIDS.  Turns out
there are corner cases involving dropping toasted columns in which the
previous coding would fail, too: the new version of the table might not
have any TOAST table, but we'd still propagate possibly-wide values of
dropped columns forward.

19 years agoFix bit-rot in ipc_test.c; it didn't include some stuff that pg_shmem.c
Tom Lane [Sat, 5 Feb 2005 20:07:16 +0000 (20:07 +0000)]
Fix bit-rot in ipc_test.c; it didn't include some stuff that pg_shmem.c
now depends on.

19 years agoMarginal hack to merge adjacent ReleaseBuffer/ReadBuffer calls into
Tom Lane [Sat, 5 Feb 2005 19:38:58 +0000 (19:38 +0000)]
Marginal hack to merge adjacent ReleaseBuffer/ReadBuffer calls into
ReleaseAndReadBuffer during GIST index searches.  We already did this
in btree and rtree, might as well do it here too.

19 years agoRefactor some duplicated code in lock.c: create UnGrantLock(), move code
Neil Conway [Fri, 4 Feb 2005 02:04:53 +0000 (02:04 +0000)]
Refactor some duplicated code in lock.c: create UnGrantLock(), move code
from LockRelease() and LockReleaseAll() into it. From Heikki Linnakangas.

19 years agoFix minor thinko in logic to set dump order when dumping from a pre-7.3
Tom Lane [Thu, 3 Feb 2005 23:38:58 +0000 (23:38 +0000)]
Fix minor thinko in logic to set dump order when dumping from a pre-7.3
database: aggregates should be dumped in the same pass as operators,
not in the same pass as functions.

19 years agoEnsure that all details of the ARC algorithm are hidden within freelist.c.
Tom Lane [Thu, 3 Feb 2005 23:29:19 +0000 (23:29 +0000)]
Ensure that all details of the ARC algorithm are hidden within freelist.c.
This refactoring does not change any algorithms or data structures, just
remove visibility of the ARC datastructures from other source files.

19 years agoMinor SGML improvements.
Neil Conway [Thu, 3 Feb 2005 07:12:37 +0000 (07:12 +0000)]
Minor SGML improvements.

19 years agoImprove performance of fmgr.c calling routines for cases with more than
Tom Lane [Wed, 2 Feb 2005 22:40:04 +0000 (22:40 +0000)]
Improve performance of fmgr.c calling routines for cases with more than
two arguments.  Per suggestions from A. Ogawa.

19 years agoAdjust constant-folding of CASE expressions so that the simple comparison
Tom Lane [Wed, 2 Feb 2005 21:49:09 +0000 (21:49 +0000)]
Adjust constant-folding of CASE expressions so that the simple comparison
form of CASE (eg, CASE 0 WHEN 1 THEN ...) can be constant-folded as it
was in 7.4.  Also, avoid constant-folding result expressions that are
certainly unreachable --- the former coding was a bit cavalier about this
and could generate unexpected results for all-constant CASE expressions.
Add regression test cases.  Per report from Vlad Marchenko.

19 years agoImprove wording of to_char() change in 8.1:
Bruce Momjian [Wed, 2 Feb 2005 18:16:13 +0000 (18:16 +0000)]
Improve wording of to_char() change in 8.1:

      The 8.1 release will remove the <function>to_char()</> function
      for intervals.

19 years agoUpdate FAQ numbering.
Bruce Momjian [Wed, 2 Feb 2005 17:44:22 +0000 (17:44 +0000)]
Update FAQ numbering.

19 years agoUpdate RESET ALL items:
Bruce Momjian [Wed, 2 Feb 2005 17:26:49 +0000 (17:26 +0000)]
Update RESET ALL items:

<   all temporary tables, removal of any NOTIFYs, etc.  This could be used
<   for connection pooling.  We could also change RESET ALL to have this
<   functionality.
>   all temporary tables, removal of any NOTIFYs, cursors, prepared
>   queries(?), currval()s, etc.  This could be used for connection pooling.
>   We could also change RESET ALL to have this functionality.

19 years agoAdd to release checklist:
Bruce Momjian [Wed, 2 Feb 2005 16:58:52 +0000 (16:58 +0000)]
Add to release checklist:

* Update inet/cidr data types with newest Bind patches

19 years agoFixed bug in parsing of #line statement in declare section.
Michael Meskes [Wed, 2 Feb 2005 15:37:43 +0000 (15:37 +0000)]
Fixed bug in parsing of #line statement in declare section.

19 years agoRemove pgsql_tmp directory FAQ item.
Bruce Momjian [Wed, 2 Feb 2005 13:41:18 +0000 (13:41 +0000)]
Remove pgsql_tmp directory FAQ item.

19 years agoAdd support for temporary views, including documentation and regression
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".

19 years agoFix a bug induced by the list-rewrite that resulted in incrementing the
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.

19 years agoAdjust estimate_num_groups() to not clamp per-relation group count
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 ...

19 years agoAdd Josh's performance page.
Bruce Momjian [Tue, 1 Feb 2005 21:11:06 +0000 (21:11 +0000)]
Add Josh's performance page.

19 years agoAdjust plpgsql to allow assignment to an element of an array that is
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.

19 years agoAdd FETCH/MOVE:
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

19 years agoAdd:
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

19 years agoFinal FAQ cleanups to remove information about very old releases.
Bruce Momjian [Tue, 1 Feb 2005 02:40:50 +0000 (02:40 +0000)]
Final FAQ cleanups to remove information about very old releases.

19 years agoRemove outer join simulation using UNION now that we have had outer
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.

19 years agoRemove FAQ about database terms.
Bruce Momjian [Tue, 1 Feb 2005 02:31:59 +0000 (02:31 +0000)]
Remove FAQ about database terms.

19 years agoRemove FAQ mention of DROP column.
Bruce Momjian [Tue, 1 Feb 2005 01:41:37 +0000 (01:41 +0000)]
Remove FAQ mention of DROP column.

19 years agoUpdate LIMIT/FETCH FAQ item.
Bruce Momjian [Tue, 1 Feb 2005 01:36:13 +0000 (01:36 +0000)]
Update LIMIT/FETCH FAQ item.

19 years agoSync inet formatting code with recent BIND releases. In particular,
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.

19 years agoUpdate connections FAQ item.
Bruce Momjian [Tue, 1 Feb 2005 00:19:15 +0000 (00:19 +0000)]
Update connections FAQ item.

19 years agoFix markup typo.
Bruce Momjian [Mon, 31 Jan 2005 22:59:06 +0000 (22:59 +0000)]
Fix markup typo.

19 years agoUpdate debeug FAQ.
Bruce Momjian [Mon, 31 Jan 2005 22:58:00 +0000 (22:58 +0000)]
Update debeug FAQ.

19 years agoRestructure debug FAQ entry.
Bruce Momjian [Mon, 31 Jan 2005 22:57:17 +0000 (22:57 +0000)]
Restructure debug FAQ entry.

19 years agoReorganize FAQ entry on performance.
Bruce Momjian [Mon, 31 Jan 2005 20:40:46 +0000 (20:40 +0000)]
Reorganize FAQ entry on performance.

19 years agoUpdate admin tools FAQ.
Bruce Momjian [Mon, 31 Jan 2005 02:45:32 +0000 (02:45 +0000)]
Update admin tools FAQ.

19 years agoUpdate PHP mention.
Bruce Momjian [Mon, 31 Jan 2005 02:43:11 +0000 (02:43 +0000)]
Update PHP mention.

19 years agoRemove "Support" FAQ item. We now have a tab on our web site.
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.

19 years agoWording improvement.
Bruce Momjian [Mon, 31 Jan 2005 02:19:23 +0000 (02:19 +0000)]
Wording improvement.

19 years agoReorder support FAQ items.
Bruce Momjian [Mon, 31 Jan 2005 02:17:11 +0000 (02:17 +0000)]
Reorder support FAQ items.

19 years agoUpdate section to mention developer's FAQ.
Bruce Momjian [Mon, 31 Jan 2005 02:09:34 +0000 (02:09 +0000)]
Update section to mention developer's FAQ.

19 years agoMention releases are every 10-12 months now.
Bruce Momjian [Mon, 31 Jan 2005 01:59:54 +0000 (01:59 +0000)]
Mention releases are every 10-12 months now.

19 years agoSimplify FAQ item about obtaining support.
Bruce Momjian [Mon, 31 Jan 2005 01:53:49 +0000 (01:53 +0000)]
Simplify FAQ item about obtaining support.

19 years agoClarify license FAQ item.
Bruce Momjian [Mon, 31 Jan 2005 01:38:10 +0000 (01:38 +0000)]
Clarify license FAQ item.

19 years agoModernize the FAQ item "What is PostgreSQL" to skip most historical
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.

19 years agoRecommend security@postgresql.org as the contact point for security-related bugs.
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.

19 years agoUpdate FAQ text file.
Bruce Momjian [Sun, 30 Jan 2005 04:45:01 +0000 (04:45 +0000)]
Update FAQ text file.

19 years agoFAQ markup fixes.
Bruce Momjian [Sun, 30 Jan 2005 04:44:11 +0000 (04:44 +0000)]
FAQ markup fixes.

19 years agoFix ampersand in URL.
Bruce Momjian [Sun, 30 Jan 2005 04:25:26 +0000 (04:25 +0000)]
Fix ampersand in URL.

19 years agoRemove IN/slow FAQ item because it only applies to <=7.3.X.
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.

19 years agoRemove GEQO and Rtree FAQ items.
Bruce Momjian [Sun, 30 Jan 2005 04:16:11 +0000 (04:16 +0000)]
Remove GEQO and Rtree FAQ items.

19 years agoMore index item rewording.kUpdate FAQ.
Bruce Momjian [Sun, 30 Jan 2005 04:06:26 +0000 (04:06 +0000)]
More index item rewording.kUpdate FAQ.

19 years agoReword index/slow query item.
Bruce Momjian [Sun, 30 Jan 2005 04:05:15 +0000 (04:05 +0000)]
Reword index/slow query item.

19 years agoRemove FAQ item about binary cursors.
Bruce Momjian [Sun, 30 Jan 2005 04:03:02 +0000 (04:03 +0000)]
Remove FAQ item about binary cursors.

19 years agoRemove FAQ items about IPC errors. We now report the help description
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.

19 years agoMerge two Interfaces FAQ items into one.
Bruce Momjian [Sun, 30 Jan 2005 03:52:46 +0000 (03:52 +0000)]
Merge two Interfaces FAQ items into one.

19 years agoMerge unix and non-unix platform faq items, and remove Y2K item.
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.

19 years agoUpdate OID item description.
Bruce Momjian [Sun, 30 Jan 2005 02:06:33 +0000 (02:06 +0000)]
Update OID item description.

19 years agoPreliminary release notes for 8.0.1, 7.4.7, 7.3.9, 7.2.7.
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.

19 years agoWe haven't had a fixed limit on rule recursion depth since 7.3 ...
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.

19 years agoMake sure contrib C functions are marked strict where needed.
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

19 years agoAdd documentation for format_type(), which somehow escaped it before.
Tom Lane [Fri, 28 Jan 2005 23:12:59 +0000 (23:12 +0000)]
Add documentation for format_type(), which somehow escaped it before.

19 years agoAdd note cautioning that you can't use an encrypting IDENT server
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.

19 years agoWhen dealing with multiple grouping columns coming from the same table,
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.

19 years agoImprove planner's estimation of the space needed for HashAgg plans:
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.

19 years agopg_aggregate.h fails to compile standalone, for lack of an #include
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.

19 years agoAdjust mkdir_p to do stat() before trying mkdir(). Avoids problems on
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.

19 years agoCheck that aggregate creator has the right to execute the transition
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.

19 years agoSmall patch to move get_grosysid() from catalog/aclchk.c to
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.

19 years agoChange heap_modifytuple() to require a TupleDesc rather than a
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.

19 years agoNow that I look at it, int_array_enum() didn't work either.
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.

19 years agoFix security and 64-bit issues in contrib/intagg. This code could
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.

19 years agoAdd intset() to README
Teodor Sigaev [Thu, 27 Jan 2005 14:14:01 +0000 (14:14 +0000)]
Add intset() to README

19 years agoProvide a more descriptive error message when the return type of an SRF
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.

19 years agoGeneralize TRUNCATE to support truncating multiple tables in one
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

19 years agoAdd regression tests for recent cursor/savepoint bug fixed by Alvaro and
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.

19 years agoClose all cursors created during a failed subtransaction. This is needed
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.

19 years agoAdjust Windows autovacuum service to retry for up to 5 minutes waiting
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

19 years agoOn Windows, set the postmaster executable's stack size to 4MB, so that
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.

19 years agoMinor tweak to avoid unnecessary memory bloat when dumping extremely wide
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 ...

19 years agoAdd docs for a couple of formerly-undocumented geometric conversion functions.
Tom Lane [Wed, 26 Jan 2005 20:42:19 +0000 (20:42 +0000)]
Add docs for a couple of formerly-undocumented geometric conversion functions.

19 years agoMake pg_dump and pg_restore handle binary archive formats correctly
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.

19 years agoUse SHGetFolderPath instead of SHGetSpecialFolderPath to find the
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

19 years agoAvoid unnecessary dependence on u_int16_t, per buildfarm failure.
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...)

19 years agoThe attached patch implements the soundex difference function which
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.

19 years agoFix breakage created by addition of separate 'acl pass' in pg_dump.
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.

19 years agoAdd missing "ko".
Peter Eisentraut [Tue, 25 Jan 2005 17:32:00 +0000 (17:32 +0000)]
Add missing "ko".

19 years agoimprove support of agglutinative languages (query with compound words).
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;

19 years agoFixed segfault due to freeing a struct definition twice if it was a named struct...
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.

19 years agoChange
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.

19 years agoRegression tests for recent bugfix to ALTER TABLE ADD COLUMN: ensure that
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.

19 years agoFix ALTER TABLE ADD COLUMN so that constraints of domain types are
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.

19 years agoDisallow LOAD to non-superusers. Per report from John Heasman.
Tom Lane [Mon, 24 Jan 2005 17:46:16 +0000 (17:46 +0000)]
Disallow LOAD to non-superusers.  Per report from John Heasman.

19 years agoFix memory leak in rtdosplit, per report from Clive Page.
Tom Lane [Mon, 24 Jan 2005 02:47:26 +0000 (02:47 +0000)]
Fix memory leak in rtdosplit, per report from Clive Page.

19 years agoFix typo.
Neil Conway [Mon, 24 Jan 2005 00:17:33 +0000 (00:17 +0000)]
Fix typo.

19 years agopg_autovacuum fixes from Dave Page:
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.

19 years agoDocument why CREATE CONSTRAINT TRIGGER doesn't tab complete.
Bruce Momjian [Sun, 23 Jan 2005 15:58:50 +0000 (15:58 +0000)]
Document why CREATE CONSTRAINT TRIGGER doesn't tab complete.