]> granicus.if.org Git - postgresql/log
postgresql
19 years agoFix latent bug in ExecSeqRestrPos: it leaves the plan node's result slot
Tom Lane [Sun, 15 May 2005 21:19:55 +0000 (21:19 +0000)]
Fix latent bug in ExecSeqRestrPos: it leaves the plan node's result slot
in an inconsistent state.  (This is only latent because in reality
ExecSeqRestrPos is dead code at the moment ... but someday maybe it won't
be.)  Add some comments about what the API for plan node mark/restore
actually is, because it's not immediately obvious.

19 years agoVarious style cleanups for GiST; no changes to functionality.
Neil Conway [Sun, 15 May 2005 04:08:29 +0000 (04:08 +0000)]
Various style cleanups for GiST; no changes to functionality.

19 years agoRename Rendezvous to Bonjour to match OS/X renaming.
Bruce Momjian [Sun, 15 May 2005 00:26:19 +0000 (00:26 +0000)]
Rename Rendezvous to Bonjour to match OS/X renaming.

19 years agoFurther marginal speed hacking: in MemoryContextReset, don't call
Tom Lane [Sat, 14 May 2005 23:16:29 +0000 (23:16 +0000)]
Further marginal speed hacking: in MemoryContextReset, don't call
MemoryContextResetChildren unless necessary.

19 years agoMinor refactoring to eliminate duplicate code and make startup a
Tom Lane [Sat, 14 May 2005 21:29:23 +0000 (21:29 +0000)]
Minor refactoring to eliminate duplicate code and make startup a
tad faster.

19 years agoMinor speed hacks in AllocSetReset: avoid clearing the freelist headers
Tom Lane [Sat, 14 May 2005 20:29:13 +0000 (20:29 +0000)]
Minor speed hacks in AllocSetReset: avoid clearing the freelist headers
when the blocks list is empty (there can surely be no freelist items if
the context contains no memory), and use MemSetAligned not MemSet to
clear the headers (we assume alignof(pointer) >= alignof(int32)).
Per discussion with Atsushi Ogawa.  He proposes some further hacking
that I'm not yet sold on, but these two changes are unconditional wins
since there is no case in which they make things slower.

19 years agoConvert the existing regression test scripts for the various optional
Tom Lane [Sat, 14 May 2005 17:55:22 +0000 (17:55 +0000)]
Convert the existing regression test scripts for the various optional
PLs to use the standard pg_regress infrastructure.  No changes in the
tests themselves.  Andrew Dunstan

19 years agoRe-order items, add mention of how to propose working on a TODO item.
Bruce Momjian [Sat, 14 May 2005 16:26:17 +0000 (16:26 +0000)]
Re-order items, add mention of how to propose working on a TODO item.

19 years agoRevise nodeMergejoin in light of example provided by Guillaume Smet.
Tom Lane [Fri, 13 May 2005 21:20:16 +0000 (21:20 +0000)]
Revise nodeMergejoin in light of example provided by Guillaume Smet.
When one side of the join has a NULL, we don't want to uselessly try
to match it against every remaining tuple of the other side.  While
at it, rewrite the comparison machinery to avoid multiple evaluations
of the left and right input expressions and to use a btree comparator
where available, instead of double operator calls.  Also revise the
state machine to eliminate redundant comparisons and hopefully make it
more readable too.

19 years agoAdd -N make flag to bcc builds from /src dir.
Bruce Momjian [Fri, 13 May 2005 18:12:35 +0000 (18:12 +0000)]
Add -N make flag to bcc builds from /src dir.

19 years agoAdd missing quote, per Dave Page.
Tom Lane [Fri, 13 May 2005 16:48:14 +0000 (16:48 +0000)]
Add missing quote, per Dave Page.

19 years agoUpdate createuser examples to match the current program behavior,
Tom Lane [Fri, 13 May 2005 16:31:43 +0000 (16:31 +0000)]
Update createuser examples to match the current program behavior,
and add an example showing assignment of a password.  Per suggestion
from Jari Aalto (via Martin Pitt).

19 years agoFix broken markup.
Tom Lane [Fri, 13 May 2005 15:21:59 +0000 (15:21 +0000)]
Fix broken markup.

19 years agoUpdate chinese encoding specification.
Bruce Momjian [Fri, 13 May 2005 13:47:18 +0000 (13:47 +0000)]
Update chinese encoding specification.

19 years agoAdd regression test for consecutive newlines in COPY CSV mode. (There is
Neil Conway [Fri, 13 May 2005 06:33:40 +0000 (06:33 +0000)]
Add regression test for consecutive newlines in COPY CSV mode. (There is
no bug related to this functionality in HEAD, but it's worth adding a test
for anyway.) From Andrew Dunstan.

19 years agoRemove some unnecessary code: since ExecMakeFunctionResultNoSets does not
Tom Lane [Thu, 12 May 2005 20:41:56 +0000 (20:41 +0000)]
Remove some unnecessary code: since ExecMakeFunctionResultNoSets does not
want to handle set inputs, it should just pass NULL for isDone, not make
its own failure check.

19 years agoThis patch makes some minor style cleanups to contrib/btree_gist: remove
Neil Conway [Thu, 12 May 2005 00:39:37 +0000 (00:39 +0000)]
This patch makes some minor style cleanups to contrib/btree_gist: remove
the "extern" keyword from function definitions, reorganize some
PG_GETARG_XXX() usage, and similar.

19 years agoGive pg_regress a --load-language option, so that it can be used to test
Tom Lane [Wed, 11 May 2005 21:52:03 +0000 (21:52 +0000)]
Give pg_regress a --load-language option, so that it can be used to test
other PLs besides plpgsql.  Andrew Dunstan

19 years agoa small tweak to enable display in the log file
Bruce Momjian [Wed, 11 May 2005 18:07:14 +0000 (18:07 +0000)]
a small tweak to enable display in the log file
of database name before table name
when VACUUMing or ANALYZing a table.

Cosimo Streppone

19 years agoThis patch will ensure that the hash table iteration performed by
Bruce Momjian [Wed, 11 May 2005 18:05:37 +0000 (18:05 +0000)]
This patch will ensure that the hash table iteration performed by
AtCommit_Portals is restarted when a portal is deleted. This is
necessary since the deletion of a portal may cause the deletion of
another which on rare occations may cause the iterator to return a
deleted portal an thus a renewed attempt delete.

Thomas Hallgren

19 years agoFix pg_autovacuum -s flag to handle values > 2000 by using sleep()
Bruce Momjian [Wed, 11 May 2005 17:57:56 +0000 (17:57 +0000)]
Fix pg_autovacuum -s flag to handle values > 2000 by using sleep()
instead of pg_usleep.

Backpatch to 8.0.X.

19 years agoUpdate FAQ URLs.
Bruce Momjian [Wed, 11 May 2005 16:13:20 +0000 (16:13 +0000)]
Update FAQ URLs.

Robert Treat

19 years agoDocument where to download free Microsoft and Borland development tools.
Bruce Momjian [Wed, 11 May 2005 16:02:12 +0000 (16:02 +0000)]
Document where to download free Microsoft and Borland development tools.

19 years agoDocument that bcc compiles now need the -N flag, backpatch to 8.0.X.
Bruce Momjian [Wed, 11 May 2005 15:10:20 +0000 (15:10 +0000)]
Document that bcc compiles now need the -N flag, backpatch to 8.0.X.

19 years agoUpdate Chinese FAQ, per Magnus.
Bruce Momjian [Wed, 11 May 2005 14:56:50 +0000 (14:56 +0000)]
Update Chinese FAQ, per Magnus.

19 years agoTag 1000000L as long for compuation.
Bruce Momjian [Wed, 11 May 2005 14:53:43 +0000 (14:53 +0000)]
Tag 1000000L as long for compuation.

19 years agoFix newly introduced spelling error.
Neil Conway [Wed, 11 May 2005 13:58:50 +0000 (13:58 +0000)]
Fix newly introduced spelling error.

19 years agoAdd mention that not all functions are listed.
Bruce Momjian [Wed, 11 May 2005 13:36:14 +0000 (13:36 +0000)]
Add mention that not all functions are listed.

Update Chinese FAQ for HTML.

19 years agoThis patch refactors away some duplicated code in the index AM build
Neil Conway [Wed, 11 May 2005 06:24:55 +0000 (06:24 +0000)]
This patch refactors away some duplicated code in the index AM build
methods: they all invoke UpdateStats() since they have computed the
number of heap tuples, so I created a function in catalog/index.c that
each AM now calls.

19 years agoAdd Chinese FAQ.
Bruce Momjian [Wed, 11 May 2005 02:11:05 +0000 (02:11 +0000)]
Add Chinese FAQ.

laser@pgsqldb.com

19 years agoThis patch reduces the size of the message header used by statistics
Neil Conway [Wed, 11 May 2005 01:41:41 +0000 (01:41 +0000)]
This patch reduces the size of the message header used by statistics
collector messages, per recent discussion on pgsql-patches. This
actually required quite a few changes -- for example,
"databaseid != InvalidOid" was used to check whether a slot in the
backend entry table was initialized, but that no longer works since
the slot might be initialized prior to receiving the BESTART message
which contains the database id. We now use procpid > 0 to indicate
that a slot is non-empty.

Other changes:

- various comment improvements and cleanups
- there's no need to zero-out the entire activity buffer in
  pgstat_add_backend(), we can just set activity[0] to '\0'.
- remove the counting of the # of connections to a database; this
  was not used anywhere

One change in behavior I wasn't sure about: previously, the code
would create a hash table entry for a database as soon as any message
was received whose header referenced that database. Now, we only
create hash table entries as needed (so for example BESTART won't
create a database hash table entry, since it doesn't need to
access anything in the per-db hash table). It would be easy enough
to retain the old behavior, but AFAICS it is not required.

19 years agoCode cleanup: in C89, there is no point casting the first argument to
Neil Conway [Wed, 11 May 2005 01:26:02 +0000 (01:26 +0000)]
Code cleanup: in C89, there is no point casting the first argument to
memset() or MemSet() to a char *. For one, memset()'s first argument is
a void *, and further void * can be implicitly coerced to/from any other
pointer type.

19 years agoBack out check for unreferenced files.
Bruce Momjian [Tue, 10 May 2005 22:27:30 +0000 (22:27 +0000)]
Back out check for unreferenced files.

Heikki Linnakangas

19 years agoItem removed from CVS:
Bruce Momjian [Tue, 10 May 2005 22:26:56 +0000 (22:26 +0000)]
Item removed from CVS:

< * -Check for unreferenced table files created by transactions that were
> * Check for unreferenced table files created by transactions that were

19 years agoReport index name on CLUSTER failure. Also, suggest ALTER TABLE
Bruce Momjian [Tue, 10 May 2005 13:16:26 +0000 (13:16 +0000)]
Report index name on CLUSTER failure.  Also, suggest ALTER TABLE
WITHOUT CLUSTER for cluster failure of a single table in a full db
cluster.

19 years agoFix typo in comment.
Neil Conway [Tue, 10 May 2005 05:15:07 +0000 (05:15 +0000)]
Fix typo in comment.

19 years agoAdd:
Bruce Momjian [Tue, 10 May 2005 03:21:58 +0000 (03:21 +0000)]
Add:

> * Fix sgmltools so PDFs can be generated with bookmarks

19 years agoAdd:
Bruce Momjian [Tue, 10 May 2005 03:21:00 +0000 (03:21 +0000)]
Add:

> * Allow postgresql.conf values to be set so they can not be changed by
>   the user

19 years agoDone:
Bruce Momjian [Tue, 10 May 2005 02:16:15 +0000 (02:16 +0000)]
Done:

< * Add session start time and last statement time to pg_stat_activity
> * -Add session start time and last statement time to pg_stat_activity
134c134
< * Add the client IP address and port to pg_stat_activity
> * -Add the client IP address and port to pg_stat_activity

19 years agoRegression tests for the COPY CSV header feature. From Andrew Dunstan.
Neil Conway [Tue, 10 May 2005 00:16:07 +0000 (00:16 +0000)]
Regression tests for the COPY CSV header feature. From Andrew Dunstan.

19 years agoRename encryption section.
Bruce Momjian [Mon, 9 May 2005 17:26:22 +0000 (17:26 +0000)]
Rename encryption section.

19 years agoRemove encryption FAQ item now that we have a doc section.
Bruce Momjian [Mon, 9 May 2005 17:15:15 +0000 (17:15 +0000)]
Remove encryption FAQ item now that we have a doc section.

19 years agoImprove wording of new documentation section on encryption, and move it
Bruce Momjian [Mon, 9 May 2005 17:13:04 +0000 (17:13 +0000)]
Improve wording of new documentation section on encryption, and move it
a few sections up.

19 years agoUpdate "expected" regression test output for the recent stats collector
Neil Conway [Mon, 9 May 2005 15:43:22 +0000 (15:43 +0000)]
Update "expected" regression test output for the recent stats collector
checkin. My apologies for breaking the tests.

19 years agoFix duplicate call to WRITE_NODE_FIELD(whereClause) in _outSelectStmt
Tatsuo Ishii [Mon, 9 May 2005 15:09:19 +0000 (15:09 +0000)]
Fix duplicate call to WRITE_NODE_FIELD(whereClause) in _outSelectStmt

19 years agoAdd some defenses against functions declared to return set that don't
Tom Lane [Mon, 9 May 2005 14:28:39 +0000 (14:28 +0000)]
Add some defenses against functions declared to return set that don't
actually follow the protocol; per example from Kris Jurka.

19 years agoComplete the following TODO items:
Neil Conway [Mon, 9 May 2005 11:31:34 +0000 (11:31 +0000)]
Complete the following TODO items:

* Add session start time to pg_stat_activity
* Add the client IP address and port to pg_stat_activity

Original patch from Magnus Hagander, code review by Neil Conway. Catalog
version bumped. This patch sends the client IP address and port number in
every statistics message; that's not ideal, but will be fixed up shortly.

19 years agoUpdate release notes for upcoming re-releases.
Tom Lane [Mon, 9 May 2005 00:09:45 +0000 (00:09 +0000)]
Update release notes for upcoming re-releases.

19 years agoUpdate release checklist to reflect that HISTORY and INSTALL don't
Tom Lane [Sun, 8 May 2005 23:34:15 +0000 (23:34 +0000)]
Update release checklist to reflect that HISTORY and INSTALL don't
need to be created by hand anymore.

19 years agoAdd encryption section to documentation.
Bruce Momjian [Sun, 8 May 2005 03:29:06 +0000 (03:29 +0000)]
Add encryption section to documentation.

Christopher Browne

19 years agoDocumentation adjustments.
Bruce Momjian [Sun, 8 May 2005 03:08:05 +0000 (03:08 +0000)]
Documentation adjustments.

Vladimir Chukharev

19 years agoRepair very-low-probability race condition between relation extension
Tom Lane [Sat, 7 May 2005 21:32:24 +0000 (21:32 +0000)]
Repair very-low-probability race condition between relation extension
and VACUUM: in the interval between adding a new page to the relation
and formatting it, it was possible for VACUUM to come along and decide
it should format the page too.  Though not harmful in itself, this would
cause data loss if a third transaction were able to insert tuples into
the vacuumed page before the original extender got control back.

19 years agoAdjust time qual checking code so that we always check TransactionIdIsInProgress
Tom Lane [Sat, 7 May 2005 21:22:01 +0000 (21:22 +0000)]
Adjust time qual checking code so that we always check TransactionIdIsInProgress
before we check commit/abort status.  Formerly this was done in some paths
but not all, with the result that a transaction might be considered
committed for some purposes before it became committed for others.
Per example found by Jan Wieck.

19 years agoFix case in which a debug printout would print already-pfreed data.
Tom Lane [Sat, 7 May 2005 18:14:25 +0000 (18:14 +0000)]
Fix case in which a debug printout would print already-pfreed data.

19 years agoAdd description:
Bruce Momjian [Sat, 7 May 2005 15:45:23 +0000 (15:45 +0000)]
Add description:

<   Currently locale can only be set during initdb.
>   Currently locale can only be set during initdb.  No global tables have
>   locale-aware columns.  However, the database template used during
>   database creation might have locale-aware indexes.  The indexes would
>   need to be reindexed to match the new locale.

19 years agoAdd comment on C locale test for upper/lower/initcap().
Bruce Momjian [Sat, 7 May 2005 15:18:17 +0000 (15:18 +0000)]
Add comment on C locale test for upper/lower/initcap().

19 years agoRevert the ld --as-needed patch. This breaks Fedora Core 3, due to a strange
Neil Conway [Sat, 7 May 2005 05:48:50 +0000 (05:48 +0000)]
Revert the ld --as-needed patch. This breaks Fedora Core 3, due to a strange
interaction between ld, readline, termcap, and psql. The symptom is psql
failing with this error on startup:

    symbol lookup error: /usr/lib64/libreadline.so.4: undefined symbol: BC

I'm still trying to find the best way to solve this, but in the mean time
I'm reverting the patch in order to unbreak FC3.

19 years agoDone:
Bruce Momjian [Sat, 7 May 2005 04:38:08 +0000 (04:38 +0000)]
Done:
>  o -Allow COPY to optionally include column headings in the first line

19 years agoAdd items:
Bruce Momjian [Sat, 7 May 2005 04:24:34 +0000 (04:24 +0000)]
Add items:

> * Prevent to_char() on interval from returning meaningless values
>
>   For example, to_char('1 month', 'mon') is meaningless.  Basically,
>   most date-related parameters to to_char() are meaningless for
>   intervals because interval is not anchored to a date.
>
> * Allow to_char() on interval values to accumulate the highest unit
>   requested
>
>  o to_char(INTERVAL '1 hour 5 minutes', 'MI') => 65
>  o to_char(INTERVAL '43 hours 20 minutes', 'MI' ) => 2600
>  o to_char(INTERVAL '43 hours 20 minutes', 'WK:DD:HR:MI') => 0:1:19:20
>  o to_char(INTERVAL '3 years 5 months','MM') => 41
>
>   Some special format flag would be required to request such
>   accumulation.  Such functionality could also be added to EXTRACT.
>   Prevent accumulation that crosses the month/day boundary because of
>   the uneven number of days in a month.
>

19 years agoAdd COPY WITH CVS HEADER to allow a heading line as the first line in
Bruce Momjian [Sat, 7 May 2005 02:22:49 +0000 (02:22 +0000)]
Add COPY WITH CVS HEADER to allow a heading line as the first line in
COPY.

Andrew Dunstan

19 years agoUpdate backend flowchart HTML.
Bruce Momjian [Fri, 6 May 2005 19:13:02 +0000 (19:13 +0000)]
Update backend flowchart HTML.

19 years agoUpdate flowchart sections to match current CVS.
Bruce Momjian [Fri, 6 May 2005 19:07:17 +0000 (19:07 +0000)]
Update flowchart sections to match current CVS.

19 years agoMarkup improvements.
Bruce Momjian [Fri, 6 May 2005 18:25:46 +0000 (18:25 +0000)]
Markup improvements.

19 years agoUpdate backend flowchard wording
Bruce Momjian [Fri, 6 May 2005 18:23:13 +0000 (18:23 +0000)]
Update backend flowchard wording

19 years agoAdjust question spacing.
Bruce Momjian [Fri, 6 May 2005 17:48:03 +0000 (17:48 +0000)]
Adjust question spacing.

19 years agoFor some reason access/tupmacs.h has been #including utils/memutils.h,
Tom Lane [Fri, 6 May 2005 17:24:55 +0000 (17:24 +0000)]
For some reason access/tupmacs.h has been #including utils/memutils.h,
which is neither needed by nor related to that header.  Remove the bogus
inclusion and instead include the header in those C files that actually
need it.  Also fix unnecessary inclusions and bad inclusion order in
tsearch2 files.

19 years agoUpdate misleading comment about the use of lanpltrusted ... it is
Tom Lane [Fri, 6 May 2005 14:28:53 +0000 (14:28 +0000)]
Update misleading comment about the use of lanpltrusted ... it is
significant regardless of the value of lanispl.

19 years agoUpdate comment to mention "Name classification hierarchy" as place to
Bruce Momjian [Fri, 6 May 2005 03:42:17 +0000 (03:42 +0000)]
Update comment to mention "Name classification hierarchy" as place to
check for reserved words.

19 years agoRemove documentation that CSV didn't handle carriage returns and line
Bruce Momjian [Fri, 6 May 2005 03:38:05 +0000 (03:38 +0000)]
Remove documentation that CSV didn't handle carriage returns and line
feeds properly.

19 years agoConvert some mulit-line comments in copy.c to single line, as appropriate.
Bruce Momjian [Fri, 6 May 2005 02:56:42 +0000 (02:56 +0000)]
Convert some mulit-line comments in copy.c to single line, as appropriate.

19 years agoMarginal performance improvements in dynahash: make sure that everything
Tom Lane [Fri, 6 May 2005 00:19:14 +0000 (00:19 +0000)]
Marginal performance improvements in dynahash: make sure that everything
associated with a hashtable is allocated in that hashtable's private
context, so that hash_destroy only has to destroy the context and not
do any retail pfree's; and tighten the inner loop of hash_seq_search.

19 years agoFix bogus hashtable setup. (This code has quite a few other problems
Tom Lane [Thu, 5 May 2005 22:18:27 +0000 (22:18 +0000)]
Fix bogus hashtable setup.  (This code has quite a few other problems
too, but that one is in my way at the moment.)

19 years agoMake standalone backends ignore pg_database.datallowconn, so that there
Tom Lane [Thu, 5 May 2005 19:53:26 +0000 (19:53 +0000)]
Make standalone backends ignore pg_database.datallowconn, so that there
is a way to recover from disabling connections to all databases at once.

19 years agoOn Win32, libintl replaces snprintf() with its own version that
Bruce Momjian [Thu, 5 May 2005 19:15:54 +0000 (19:15 +0000)]
On Win32, libintl replaces snprintf() with its own version that
understands arg control, so we don't need our own.  In fact, it
also uses macros that conflict with ours, so we _can't_ use
our own.

19 years agoPer core discussion, we should push out a 7.2.* release too while
Tom Lane [Thu, 5 May 2005 17:59:40 +0000 (17:59 +0000)]
Per core discussion, we should push out a 7.2.* release too while
we are at it.  Add release notes.

19 years agoAdd comments on WSAStartup usage.
Bruce Momjian [Thu, 5 May 2005 16:40:42 +0000 (16:40 +0000)]
Add comments on WSAStartup usage.

19 years agoAdd WSACleanup() for Win32 socket cleanup.
Bruce Momjian [Thu, 5 May 2005 16:36:12 +0000 (16:36 +0000)]
Add WSACleanup() for Win32 socket cleanup.

Jason Erickson

19 years agoThe issue has been raised in the past that our build system links each
Neil Conway [Thu, 5 May 2005 11:50:18 +0000 (11:50 +0000)]
The issue has been raised in the past that our build system links each
executable against the maximal set of libraries it might need. So for
example, if one executable requires `libreadline', all executables are
linked against it.

The easiest fix is to make use of GNU ld's --as-needed flag, which
ignores linker arguments that are not actually needed by the specified
object files. The attached patch modifies configure to check for this
flag (when using GNU ld), and if ld supports it, adds the flag to
LDFLAGS (we need to do the check since only relatively recent versions
of GNU ld support this capability). Currently only GNU ld is supported;
I'm not aware of any other linkers that support this functionality.

19 years agoAdjust nodeBitmapIndexscan to keep the target index opened from plan
Tom Lane [Thu, 5 May 2005 03:37:23 +0000 (03:37 +0000)]
Adjust nodeBitmapIndexscan to keep the target index opened from plan
startup to end, rather than re-opening it in each MultiExecBitmapIndexScan
call.  I had foolishly thought that opening/closing wouldn't be much
more expensive than a rescan call, but that was sheer brain fade.

This seems to fix about half of the performance lossage reported by
Sergey Koposov.  I'm still not sure where the other half went.

19 years agoUpdate "control" item.
Bruce Momjian [Thu, 5 May 2005 01:42:04 +0000 (01:42 +0000)]
Update "control" item.
Rosser Schwarz

19 years agoTypo fix, Dave Held
Bruce Momjian [Thu, 5 May 2005 01:23:51 +0000 (01:23 +0000)]
Typo fix, Dave Held

19 years agoAllow implicit cast from any named composite type to RECORD. At the
Tom Lane [Thu, 5 May 2005 00:19:47 +0000 (00:19 +0000)]
Allow implicit cast from any named composite type to RECORD.  At the
moment this has no particular use except to allow table rows to be
passed to record_out(), but that case seems to be useful in itself
per recent example from Elein.  Further down the road we could look
at letting PL functions be declared to accept RECORD parameters.

19 years agoUse postmaster_is_alive() check in pg_ctl restart as well as pg_ctl status,
Tom Lane [Wed, 4 May 2005 22:35:15 +0000 (22:35 +0000)]
Use postmaster_is_alive() check in pg_ctl restart as well as pg_ctl status,
so that restart doesn't fail when old postmaster died unbetimes.

19 years agoPreliminary release notes for 8.0.3, 7.4.8, 7.3.10.
Tom Lane [Wed, 4 May 2005 21:19:33 +0000 (21:19 +0000)]
Preliminary release notes for 8.0.3, 7.4.8, 7.3.10.

19 years agoSpell DELIMITER correctly, per Seamus Dean.
Tom Lane [Wed, 4 May 2005 14:25:24 +0000 (14:25 +0000)]
Spell DELIMITER correctly, per Seamus Dean.

19 years agoClean up MultiXactIdExpand's API by separating out the case where we
Tom Lane [Tue, 3 May 2005 19:42:41 +0000 (19:42 +0000)]
Clean up MultiXactIdExpand's API by separating out the case where we
are creating a new MultiXactId from two regular XIDs.  The original
coding was unnecessarily complicated and didn't save any code anyway.

19 years agoAlter the signature for encoding conversion functions to declare the
Tom Lane [Tue, 3 May 2005 19:17:59 +0000 (19:17 +0000)]
Alter the signature for encoding conversion functions to declare the
output area as INTERNAL not CSTRING.  This is to prevent people from
calling the functions by hand.  This is a permanent solution for the
back branches but I hope it is just a stopgap for HEAD.

19 years agoChange tsearch2 to not use the unsafe practice of creating functions
Tom Lane [Tue, 3 May 2005 16:51:00 +0000 (16:51 +0000)]
Change tsearch2 to not use the unsafe practice of creating functions
that return INTERNAL without also having INTERNAL arguments.  Since the
functions in question aren't meant to be called by hand anyway, I just
redeclared them to take 'internal' instead of 'text'.  Also add code
to ProcedureCreate() to enforce the restriction, as I should have done
to start with :-(

19 years agoFix typos in documentation.
Neil Conway [Tue, 3 May 2005 03:10:01 +0000 (03:10 +0000)]
Fix typos in documentation.

19 years agoAdd FAQ on who controls the project.
Bruce Momjian [Mon, 2 May 2005 20:11:27 +0000 (20:11 +0000)]
Add FAQ on who controls the project.

19 years agoCompleted:
Bruce Momjian [Mon, 2 May 2005 18:27:12 +0000 (18:27 +0000)]
Completed:

< * Remove unreferenced table files created by transactions that were
> * -Check for unreferenced table files created by transactions that were

19 years agoCheck the file system on postmaster startup and report any unreferenced
Bruce Momjian [Mon, 2 May 2005 18:26:54 +0000 (18:26 +0000)]
Check the file system on postmaster startup and report any unreferenced
files in the server log.

Heikki Linnakangas

19 years agoAdd some missing "See Also" entries to the domain-related SQL reference
Neil Conway [Mon, 2 May 2005 01:52:50 +0000 (01:52 +0000)]
Add some missing "See Also" entries to the domain-related SQL reference
pages. From Robert Treat.

19 years agoChange SPI functions to use a `long' when specifying the number of tuples
Neil Conway [Mon, 2 May 2005 00:37:07 +0000 (00:37 +0000)]
Change SPI functions to use a `long' when specifying the number of tuples
to produce when running the executor. This is consistent with the internal
executor APIs (such as ExecutorRun), which also use a long for this purpose.
It also allows FETCH_ALL to be passed -- since FETCH_ALL is defined as
LONG_MAX, this wouldn't have worked on platforms where int and long are of
different sizes. Per report from Tzahi Fadida.

19 years agoChange CREATE TYPE to require datatype output and send functions to have
Tom Lane [Sun, 1 May 2005 18:56:19 +0000 (18:56 +0000)]
Change CREATE TYPE to require datatype output and send functions to have
only one argument.  (Per recent discussion, the option to accept multiple
arguments is pretty useless for user-defined types, and would be a likely
source of security holes if it was used.)  Simplify call sites of
output/send functions to not bother passing more than one argument.

19 years agoFix incorrect backslashing in regexp example, per Robert Treat.
Tom Lane [Sun, 1 May 2005 15:57:59 +0000 (15:57 +0000)]
Fix incorrect backslashing in regexp example, per Robert Treat.

19 years agoMention the actual stored size of NUMERIC values, per David Fetter.
Tom Lane [Sun, 1 May 2005 15:54:46 +0000 (15:54 +0000)]
Mention the actual stored size of NUMERIC values, per David Fetter.

19 years agoRemove the contents of the src/corba subdirectory: this has been dead code
Neil Conway [Sun, 1 May 2005 06:15:51 +0000 (06:15 +0000)]
Remove the contents of the src/corba subdirectory: this has been dead code
for a long time.

19 years agoChange catalog entries for record_out and record_send to show only one
Tom Lane [Sat, 30 Apr 2005 20:31:39 +0000 (20:31 +0000)]
Change catalog entries for record_out and record_send to show only one
argument, since that's all they are using now.  Adjust type_sanity
regression test so that it will complain if anyone tries to define
multiple-argument output functions in future.

19 years agoMake record_out and record_send extract type information from the passed
Tom Lane [Sat, 30 Apr 2005 20:04:33 +0000 (20:04 +0000)]
Make record_out and record_send extract type information from the passed
record object itself, rather than relying on a second OID argument to be
correct.  This patch just changes the function behavior and not the
catalogs, so it's OK to back-patch to 8.0.  Will remove the now-redundant
second argument in pg_proc in a separate patch in HEAD only.