]> granicus.if.org Git - postgresql/log
postgresql
19 years agoMove plpgsql DEBUG from DEBUG2 to DEBUG1 because it is a user-requested
Bruce Momjian [Sun, 13 Feb 2005 01:25:50 +0000 (01:25 +0000)]
Move plpgsql DEBUG from DEBUG2 to DEBUG1 because it is a user-requested
DEBUG.

19 years agoClarify:
Bruce Momjian [Sun, 13 Feb 2005 00:10:41 +0000 (00:10 +0000)]
Clarify:

< * Add IP address to pg_stat_activity
> * Add the client IP address to pg_stat_activity

19 years agoAdd:
Bruce Momjian [Sun, 13 Feb 2005 00:09:34 +0000 (00:09 +0000)]
Add:

> * Add IP address to pg_stat_activity

19 years agoMove plpgsql DEBUG from DEBUG2 to DEBUG1 because it is a user-requested
Bruce Momjian [Sat, 12 Feb 2005 23:53:42 +0000 (23:53 +0000)]
Move plpgsql DEBUG from DEBUG2 to DEBUG1 because it is a user-requested
DEBUG.

Fix a few places where DEBUG1 crept in that should have been DEBUG2.

19 years agoAdd a regression test to verify that the stack depth checker actually
Tom Lane [Fri, 11 Feb 2005 22:15:12 +0000 (22:15 +0000)]
Add a regression test to verify that the stack depth checker actually
works (and max_stack_depth is not set too high for the platform).
Inspired by trouble report from Brian Betts.

19 years agoUpdate to Russian FAQ, HEAD and 8.0.X.
Bruce Momjian [Fri, 11 Feb 2005 04:53:51 +0000 (04:53 +0000)]
Update to Russian FAQ, HEAD and 8.0.X.

19 years agoMake clearer warning about using 'now' with DEFAULT:
Bruce Momjian [Fri, 11 Feb 2005 04:31:54 +0000 (04:31 +0000)]
Make clearer warning about using 'now' with DEFAULT:

SELECT CURRENT_TIMESTAMP;
SELECT now();
SELECT TIMESTAMP 'now';  -- incorrect for use with DEFAULT

19 years agoMention that some psql environment variables come from libpq and note
Bruce Momjian [Fri, 11 Feb 2005 04:19:05 +0000 (04:19 +0000)]
Mention that some psql environment variables come from libpq and note
more variables can be found in the libpq manual section.

Mention .pgpass in the psql manual page section dealing with connection
parameters and point to the libpq section for more details.

Backpatch to 8.0.X.

19 years agoAdjust input routines for float4, float8 and oid to reject the empty string
Neil Conway [Fri, 11 Feb 2005 04:09:05 +0000 (04:09 +0000)]
Adjust input routines for float4, float8 and oid to reject the empty string
as valid input (it was previously treated as 0). This input was deprecated
in 8.0 (and a warning was emitted). Regression tests updated.

19 years agoFix ANALYZE to accumulate some minimal statistics for an all-null column.
Tom Lane [Fri, 11 Feb 2005 00:41:12 +0000 (00:41 +0000)]
Fix ANALYZE to accumulate some minimal statistics for an all-null column.
Per gripes from Mike Mascari and Bernd Heller.

19 years agoFix SPI cursor support to allow scanning the results of utility commands
Tom Lane [Thu, 10 Feb 2005 20:36:28 +0000 (20:36 +0000)]
Fix SPI cursor support to allow scanning the results of utility commands
that return tuples (such as EXPLAIN).  Per gripe from Michael Fuhr.
Side effect: fix an old bug that unintentionally disabled backward scans
for all SPI-created cursors.

19 years agoFixed changelog entry to list correct bug reporter.
Michael Meskes [Thu, 10 Feb 2005 08:08:52 +0000 (08:08 +0000)]
Fixed changelog entry to list correct bug reporter.

19 years agoFixed more parsing bugs in other CREATE statements as pointed out by TANIDA
Michael Meskes [Thu, 10 Feb 2005 08:06:35 +0000 (08:06 +0000)]
Fixed more parsing bugs in other CREATE statements as pointed out by TANIDA
Yutaka <tanida@sra.co.jp>.

19 years agoAdd some index entries for RAISE and exception handling in PL/PgSQL. Per
Neil Conway [Thu, 10 Feb 2005 06:08:22 +0000 (06:08 +0000)]
Add some index entries for RAISE and exception handling in PL/PgSQL. Per
suggestion from Rainer Brandt.

19 years agoImprovements to documentation of shared memory configuration under
Neil Conway [Thu, 10 Feb 2005 05:14:58 +0000 (05:14 +0000)]
Improvements to documentation of shared memory configuration under
FreeBSD. From Mark Kirkwood, editorializing by Neil Conway.

19 years agoUse now() rather than 'now' in an example in the PL/PgSQL docs. From David
Neil Conway [Thu, 10 Feb 2005 05:01:07 +0000 (05:01 +0000)]
Use now() rather than 'now' in an example in the PL/PgSQL docs. From David
Fetter and Ben Calvert.

19 years agoUpdate pginstaller URL to http://www.postgresql.org/ftp/win32/.
Bruce Momjian [Thu, 10 Feb 2005 04:52:31 +0000 (04:52 +0000)]
Update pginstaller URL to http://www.postgresql.org/ftp/win32/.

Backpatch to 8.0.X.

19 years agoALTER TABLE ADD COLUMN exhibits a significant memory leak when adding a
Neil Conway [Wed, 9 Feb 2005 23:17:26 +0000 (23:17 +0000)]
ALTER TABLE ADD COLUMN exhibits a significant memory leak when adding a
column with a default expression. In that situation, we need to rewrite
the heap relation. To evaluate the new default expression, we use
ExecEvalExpr(); however, this can allocate memory in the current memory
context, and ATRewriteTable() does not switch out of the active portal's
heap memory context. The end result is a rather large memory leak (on
the order of gigabytes for a reasonably sized table).

This patch changes ATRewriteTable() to switch to the per-tuple memory
context before beginning the per-tuple loop. It also removes an explicit
heap_freetuple() in the loop, since that is no longer needed.

In an unrelated change, I noticed the code was scanning through the
attributes of the new tuple descriptor for each tuple of the old table.
I changed this to use precomputation, which should slightly speed up
the loop.

Thanks to steve@deefs.net for reporting the leak.

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.