OSDN Git Service

pg-rex/syncrep.git
24 years agoDataFill() has no business resetting xact status bits
Tom Lane [Tue, 4 Jul 2000 02:40:56 +0000 (02:40 +0000)]
DataFill() has no business resetting xact status bits
in the infomask of the provided tuple.

24 years agomisc
Vadim B. Mikheev [Tue, 4 Jul 2000 01:49:44 +0000 (01:49 +0000)]
misc

24 years agounlock buffer before releasing in heap_insert
Vadim B. Mikheev [Tue, 4 Jul 2000 01:39:24 +0000 (01:39 +0000)]
unlock buffer before releasing in heap_insert
+unlock buffer in heap_fetch under !ItemIdIsUsed().

24 years agotuptoaster.h should surely not #include postgres.h.
Tom Lane [Tue, 4 Jul 2000 00:04:03 +0000 (00:04 +0000)]
tuptoaster.h should surely not #include postgres.h.

24 years agoAdd missing #include for TOAST.
Tom Lane [Mon, 3 Jul 2000 23:58:32 +0000 (23:58 +0000)]
Add missing #include for TOAST.

24 years agoTOAST changes to catalog
Jan Wieck [Mon, 3 Jul 2000 23:19:04 +0000 (23:19 +0000)]
TOAST changes to catalog

Jan

24 years agoTOAST
Jan Wieck [Mon, 3 Jul 2000 23:10:14 +0000 (23:10 +0000)]
TOAST

    WARNING: This is actually broken - we have self-deadlocks
         due to concurrent changes in buffer management.
 Vadim and me are working on it.

Jan

24 years agoMove global internal files to PGDATA/global.
Peter Eisentraut [Mon, 3 Jul 2000 20:48:46 +0000 (20:48 +0000)]
Move global internal files to PGDATA/global.

24 years agoMove PGPORT envar handling to ResetAllOptions(). Improve long options
Peter Eisentraut [Mon, 3 Jul 2000 20:46:10 +0000 (20:46 +0000)]
Move PGPORT envar handling to ResetAllOptions(). Improve long options
parsing to not clobber the optarg string -- so that we can bring
SetOptsFile() up to speed.

24 years agoHave pg_dumpall write CREATE USER and CREATE GROUP commands instead of raw
Peter Eisentraut [Mon, 3 Jul 2000 16:35:39 +0000 (16:35 +0000)]
Have pg_dumpall write CREATE USER and CREATE GROUP commands instead of raw
COPYs of pg_shadow and pg_group.

It also turns out that pg_dumpall was all but broken for multiple servers
running at non-standard port numbers. You might get the users and groups
from one server and the databases from another. Fixed that.

A little user interface and code cleanup along with that. This also takes
care of the portability bug discussed in "[BUGS] pg_dumpall" in March 2000.

24 years ago Very small changes in the contrib's pg_dumplo in the attache.
Bruce Momjian [Mon, 3 Jul 2000 16:03:27 +0000 (16:03 +0000)]
 Very small changes in the contrib's pg_dumplo in the attache.

 And:

 Note, Bruce I found in the contrib tree any files that we forget
remove during contrib cleaning. Please remove these files:

contrib/lo/test.sql
contrib/pg_dumplo/Makefile.out
contrib/pgbench/pgbench_jis.doc
contrib/spi/new_example.example
contrib/spi/README.MAX

Thanks.

                                Karel

24 years agoIn the attache is new (correct) version. I add TZ (timezone) support
Bruce Momjian [Mon, 3 Jul 2000 16:01:33 +0000 (16:01 +0000)]
In the attache is new (correct) version. I add TZ (timezone) support
for
to_char() too.

Karel

24 years agoAdd a check of HEAP_MARKED_FOR_UPDATE in HeapTupleSatisfiesDirty().
Hiroshi Inoue [Mon, 3 Jul 2000 04:45:09 +0000 (04:45 +0000)]
Add a check of HEAP_MARKED_FOR_UPDATE in HeapTupleSatisfiesDirty().
This enables unique constraint check in case of SELECT FOR UPDATEd.

24 years agoClean up memory-context stuff, other minor infelicities.
Tom Lane [Mon, 3 Jul 2000 03:57:03 +0000 (03:57 +0000)]
Clean up memory-context stuff, other minor infelicities.

24 years agoRemove unused variable. (Hey Peter, you use gcc, why didn't you
Tom Lane [Mon, 3 Jul 2000 03:27:31 +0000 (03:27 +0000)]
Remove unused variable.  (Hey Peter, you use gcc, why didn't you
notice this warning?)

24 years agoheap' logging
Vadim B. Mikheev [Mon, 3 Jul 2000 02:54:21 +0000 (02:54 +0000)]
heap' logging

24 years agoAttached is a new patch which addresses this problem. (oids in
Bruce Momjian [Sun, 2 Jul 2000 22:01:27 +0000 (22:01 +0000)]
Attached is a new patch which addresses this problem. (oids in
regression tests).

Chris Bitmead

24 years agoVersion number now set in configure, available through Makefile.global
Peter Eisentraut [Sun, 2 Jul 2000 15:21:27 +0000 (15:21 +0000)]
Version number now set in configure, available through Makefile.global
and config.h. Adjusted all referring code.

Scrapped pg_version and changed initdb accordingly. Integrated
src/utils/version.c into src/backend/utils/init/miscinit.c. Changed all
callers.

Set version number to `7.1devel'. (Non-numeric version suffixes now allowed.)

24 years agoDon't run in CacheMemoryContext more than necessary.
Tom Lane [Sun, 2 Jul 2000 05:38:40 +0000 (05:38 +0000)]
Don't run in CacheMemoryContext more than necessary.

24 years agoDon't run in CacheMemoryContext longer than necessary.
Tom Lane [Sun, 2 Jul 2000 04:46:09 +0000 (04:46 +0000)]
Don't run in CacheMemoryContext longer than necessary.

24 years agoRemove memory leak from VACUUM parsing.
Tom Lane [Sun, 2 Jul 2000 04:04:09 +0000 (04:04 +0000)]
Remove memory leak from VACUUM parsing.

24 years agoNew memmgr logic in xact.c failed if AbortTransaction() is called when
Tom Lane [Sun, 2 Jul 2000 02:28:38 +0000 (02:28 +0000)]
New memmgr logic in xact.c failed if AbortTransaction() is called when
there is no open transaction.

24 years agoBack out Karels to_char changes.
Bruce Momjian [Sat, 1 Jul 2000 21:27:14 +0000 (21:27 +0000)]
Back out Karels to_char changes.

24 years agoWe don't need config.status substituting anything into Gen_fmgrtab.sh, we
Peter Eisentraut [Sat, 1 Jul 2000 21:16:44 +0000 (21:16 +0000)]
We don't need config.status substituting anything into Gen_fmgrtab.sh, we
just pass in CPP and AWK via the environment from the Makefile.

24 years agoSynchronized integrated documentation with latest admin guide change.
Peter Eisentraut [Sat, 1 Jul 2000 15:05:47 +0000 (15:05 +0000)]
Synchronized integrated documentation with latest admin guide change.

24 years agoA little bit of clean-up/bug fix in Tcl build. Handle gracefully cases
Peter Eisentraut [Sat, 1 Jul 2000 15:02:31 +0000 (15:02 +0000)]
A little bit of clean-up/bug fix in Tcl build. Handle gracefully cases
where someone wants to build these but hasn't configured for Tcl.

24 years ago In the attache is new to_date()/to_timestamp() version.
Bruce Momjian [Sat, 1 Jul 2000 14:10:32 +0000 (14:10 +0000)]
 In the attache is new to_date()/to_timestamp() version.

 Now the to_timestamp() support WW,W,J,SSSS,DDD conversion from strings and
the am/pm bug is fixed, the to_char() use week-of-year (WW) full compatible
with Oracle.

 This patch update relevant regress-tests and docs too.

                                        Karel
~
~

24 years agoFix select '1--2'; for PEter.
Bruce Momjian [Fri, 30 Jun 2000 18:03:40 +0000 (18:03 +0000)]
Fix select '1--2'; for PEter.

24 years agoNew and revised material for Admin guide, re backup & restore and database
Peter Eisentraut [Fri, 30 Jun 2000 16:14:21 +0000 (16:14 +0000)]
New and revised material for Admin guide, re backup & restore and database
management

24 years agoFixes for Solaris/cc suggested by <pgsql-hackers@thewrittenword.com>
Peter Eisentraut [Fri, 30 Jun 2000 16:11:02 +0000 (16:11 +0000)]
Fixes for Solaris/cc suggested by <pgsql-hackers@thewrittenword.com>

Don't use DISABLE_COMPLEX_MACRO on Solaris. Don't define the
replacement function in the header file. Use -KPIC, not -K PIC.
Use CC to link C++ libraries, not ld/ar.

Eliminate file not found warnings in tcl build code.

24 years agoRemoveView was doing things the hard way...
Tom Lane [Fri, 30 Jun 2000 07:06:05 +0000 (07:06 +0000)]
RemoveView was doing things the hard way...

24 years agoUse a private memory context to store rule information in each relcache
Tom Lane [Fri, 30 Jun 2000 07:04:23 +0000 (07:04 +0000)]
Use a private memory context to store rule information in each relcache
entry that has rules.  This allows us to release the rule parsetrees
on relcache flush without needing a working freeObject() routine.
Formerly, the rule trees were leaked permanently at relcache flush.
Also, clean up handling of rule creation and deletion --- there was
not sufficient locking of the relation being modified, and there was
no reliable notification of other backends that a relcache reload
was needed.  Also, clean up relcache.c code so that scans of system
tables needed to load a relcache entry are done in the caller's
memory context, not in CacheMemoryContext.  This prevents any
un-pfreed memory from those scans from becoming a permanent memory
leak.

24 years agoFix quotes in /* */ comments in psql.
Bruce Momjian [Thu, 29 Jun 2000 16:27:57 +0000 (16:27 +0000)]
Fix quotes in /* */ comments in psql.

24 years agoAdd test code to copy all parse/plan trees. Repair essential omissions
Tom Lane [Thu, 29 Jun 2000 07:35:57 +0000 (07:35 +0000)]
Add test code to copy all parse/plan trees.  Repair essential omissions
in copyfuncs and equalfuncs exposed by regression tests.  We still have
some work to do: these modules really ought to handle most or all of
the utility statement node types.  But it's better than it was.

24 years agoRearrange config.h entries into a more sensible order, and add some
Tom Lane [Thu, 29 Jun 2000 05:50:29 +0000 (05:50 +0000)]
Rearrange config.h entries into a more sensible order, and add some
documentation.  Let's try to keep this file a bit neater in future,
hmm?  Also (to get back to the original point) update info about
FUNC_MAX_ARGS, and add additional config symbols for debugging
new memory management changes.

24 years agoRemove freefuncs.c, which hasn't been used in a long time and is not
Tom Lane [Thu, 29 Jun 2000 02:26:23 +0000 (02:26 +0000)]
Remove freefuncs.c, which hasn't been used in a long time and is not
worth the effort to continue to maintain.  Since freeObject() is not
capable of coping with cases like multiple links to a node, it's
unlikely that it ever will be useful again.  We now have memory
context management that offers a faster and more reliable way of
getting rid of arbitrary node trees (at the cost of having to know
in advance of building the tree that you'll want to get rid of it).

24 years agoAdd SIGFPE to list of signals never to block. #ifdef all signals in
Tom Lane [Thu, 29 Jun 2000 02:17:42 +0000 (02:17 +0000)]
Add SIGFPE to list of signals never to block.  #ifdef all signals in
that list to cope with platforms that don't have them all.

24 years agoAdd #ifdef for LC_MESSAGES, because it is not ANSI C standard, and BSDI
Bruce Momjian [Thu, 29 Jun 2000 01:19:36 +0000 (01:19 +0000)]
Add #ifdef for LC_MESSAGES, because it is not ANSI C standard, and BSDI
does not have it.

24 years agoMakefile cleanup for interface tree. Now essentially with all the
Peter Eisentraut [Wed, 28 Jun 2000 18:30:16 +0000 (18:30 +0000)]
Makefile cleanup for interface tree. Now essentially with all the
standard targets and behaviour. Replaced Makefile.in's with
Makefile's and declared the respective variables in Makefile.global.

maintainer-clean target now available at top level, although it does
not work in the backend tree yet.

Cleanup pass over Makefile.shlib, renamed some targets and variables.
The shared library symlink tests are now done by make, not the shell.

ecpg: Remove one warning in sloppy flex output.

PL/Perl and Perl interface: the MakeMaker documentation is confusing,
the realclean target *does* "delete derived files", but it also
uninstalls them. Don't use that.

The submake targets in the various bin directories that update libpq
should `make all', not `make libpq.a'. That is a) unportable, and
b) doesn't build the shared library.

24 years agoSuppress memory leak in COPY WITH OIDS TO wherever.
Tom Lane [Wed, 28 Jun 2000 06:05:36 +0000 (06:05 +0000)]
Suppress memory leak in COPY WITH OIDS TO wherever.

24 years agoRepair incorrect assumption that all versions of 'install' know
Tom Lane [Wed, 28 Jun 2000 05:09:37 +0000 (05:09 +0000)]
Repair incorrect assumption that all versions of 'install' know
how to install multiple files in one invocation.

24 years agoCall me silly, but I think it would be a good idea if initdb and other
Tom Lane [Wed, 28 Jun 2000 04:58:36 +0000 (04:58 +0000)]
Call me silly, but I think it would be a good idea if initdb and other
scripts are executable after being installed.  Latest changes got the
permissions wrong (non executable).

24 years agoFirst phase of memory management rewrite (see backend/utils/mmgr/README
Tom Lane [Wed, 28 Jun 2000 03:33:33 +0000 (03:33 +0000)]
First phase of memory management rewrite (see backend/utils/mmgr/README
for details).  It doesn't really do that much yet, since there are no
short-term memory contexts in the executor, but the infrastructure is
in place and long-term contexts are handled reasonably.  A few long-
standing bugs have been fixed, such as 'VACUUM; anything' in a single
query string crashing.  Also, out-of-memory is now considered a
recoverable ERROR, not FATAL.
Eliminate a large amount of crufty, now-dead code in and around
memory management.
Fix problem with holding off SIGTRAP, SIGSEGV, etc in postmaster and
backend startup.

24 years agoTamotsu Nakagawa has posted a fix for this to a local mail list in
Bruce Momjian [Tue, 27 Jun 2000 18:08:49 +0000 (18:08 +0000)]
Tamotsu Nakagawa has posted a fix for this to a local mail list in
Japan. Can someone comment on this? According to him, with the patch
now only the geometry test fails.

 Tatsuo Ishii

24 years agoMakefile cleanup for bin and pl subtrees. They should now support
Peter Eisentraut [Tue, 27 Jun 2000 00:32:06 +0000 (00:32 +0000)]
Makefile cleanup for bin and pl subtrees. They should now support
all the standard semantics. Also get rid of Makefile.in's on the
way and instead declare all variables in Makefile.global.

24 years agoFix \pset null to use ', not ".
Bruce Momjian [Mon, 26 Jun 2000 14:16:34 +0000 (14:16 +0000)]
Fix \pset null to use ', not ".

24 years agoAdded new commands and intelligence to psql tab completion.
Peter Eisentraut [Sun, 25 Jun 2000 14:25:51 +0000 (14:25 +0000)]
Added new commands and intelligence to psql tab completion.

24 years agoRelaxed pickiness about user and group commands in transaction blocks.
Peter Eisentraut [Sun, 25 Jun 2000 14:24:59 +0000 (14:24 +0000)]
Relaxed pickiness about user and group commands in transaction blocks.

24 years agoUpdate FAQ.
Bruce Momjian [Sat, 24 Jun 2000 01:51:14 +0000 (01:51 +0000)]
Update FAQ.

24 years agoSecond pass over run-time configuration system. Adjust priorities on some
Peter Eisentraut [Thu, 22 Jun 2000 22:31:24 +0000 (22:31 +0000)]
Second pass over run-time configuration system. Adjust priorities on some
option settings. Sort out SIGHUP vs BACKEND -- there is no total ordering
here, so make explicit checks. Add comments explaining all of this.
Removed permissions check on SHOW command.

Add examine_subclass to the game, rename to SQL_inheritance to fit the
official data model better. Adjust documentation.

Standalone backend needs to reset all options before it starts. To
facilitate that, have IsUnderPostmaster be set by the postmaster itself,
don't wait for the magic -p switch.

Also make sure that all environment variables and argv's survive
init_ps_display(). Use strdup where necessary.

Have initdb make configuration files (postgresql.conf, pg_hba.conf) mode
0600 -- having configuration files is no fun if you can't edit them.

24 years agoFix typo
Peter Eisentraut [Wed, 21 Jun 2000 22:42:32 +0000 (22:42 +0000)]
Fix typo

24 years ago> Great! Please cc: the docs or hackers mailing lists to make sure the
Bruce Momjian [Tue, 20 Jun 2000 18:04:18 +0000 (18:04 +0000)]
> Great! Please cc: the docs or hackers mailing lists to make sure the
> patches are not lost...

Aggregate doc patches:

The patches are attached. Be great if you could check them over to make
sure all relevant content (and markup) is there...

Isaac Wilcox

24 years agoCleaned up PL/pgSQL build. Fixed a couple of copyandpaste'os in the
Peter Eisentraut [Tue, 20 Jun 2000 16:40:19 +0000 (16:40 +0000)]
Cleaned up PL/pgSQL build. Fixed a couple of copyandpaste'os in the
interfaces and interfaces/odbc make files. Adjusted regression test
driver to start building and installing in the top level directory.

24 years agoMake renaming a temp table behave sensibly. We don't need to touch
Tom Lane [Tue, 20 Jun 2000 06:41:13 +0000 (06:41 +0000)]
Make renaming a temp table behave sensibly.  We don't need to touch
the underlying table at all, just change the mapping entry ... but
that logic was missing.

24 years agoMake inheritance planning logic a little simpler and clearer,
Tom Lane [Tue, 20 Jun 2000 04:22:21 +0000 (04:22 +0000)]
Make inheritance planning logic a little simpler and clearer,
hopefully even a little faster.

24 years agoFix handling of type tuple associated with a temp relation. We have
Tom Lane [Tue, 20 Jun 2000 01:41:22 +0000 (01:41 +0000)]
Fix handling of type tuple associated with a temp relation.  We have
to apply the tempname->realname mapping to type name lookup as well
as relation name lookup, else the type tuple will not be found when
wanted.  This fixes bugs like this one:
create temp table foo (f1 int);
select foo.f2 from foo;
ERROR:  Unable to locate type name 'foo' in catalog

24 years agoModify index-opening code to guarantee that the indexes of a relation
Tom Lane [Mon, 19 Jun 2000 23:40:48 +0000 (23:40 +0000)]
Modify index-opening code to guarantee that the indexes of a relation
are opened in a consistent order by different backends (I ordered them
by index OID because that's easy, but any other consistent order would
do as well).  This avoids potential deadlock for index types that we
acquire exclusive locks on ... ie, rtree.

24 years agoEnsure that kernel error code is included in smgr-level error reports.
Tom Lane [Mon, 19 Jun 2000 23:37:08 +0000 (23:37 +0000)]
Ensure that kernel error code is included in smgr-level error reports.
Tweak mdcreate a little bit so that it returns the right errno.

24 years agoIntegrated ODBC driver into regular build. No more standalone business,
Peter Eisentraut [Mon, 19 Jun 2000 16:58:48 +0000 (16:58 +0000)]
Integrated ODBC driver into regular build. No more standalone business,
which didn't work anyway. Had to back out unixodbc related patch which
broke the regular ODBC build.

24 years agoRemove old README files.
Bruce Momjian [Mon, 19 Jun 2000 14:07:37 +0000 (14:07 +0000)]
Remove old README files.

24 years agoAdd missing /contrib files
Bruce Momjian [Mon, 19 Jun 2000 14:02:16 +0000 (14:02 +0000)]
Add missing /contrib files

24 years agoUpdate to /contrib from Karel.
Bruce Momjian [Mon, 19 Jun 2000 13:54:50 +0000 (13:54 +0000)]
Update to /contrib from Karel.

24 years agoautoconf
Bruce Momjian [Mon, 19 Jun 2000 13:40:37 +0000 (13:40 +0000)]
autoconf

24 years agoRename HAVE_SQLGETPRIVATEPROFILESTRING to something resonable in length
Bruce Momjian [Mon, 19 Jun 2000 13:39:03 +0000 (13:39 +0000)]
Rename HAVE_SQLGETPRIVATEPROFILESTRING to something resonable in length
and readability.

24 years agofix HAVE_SQLGETPRIVATEPROFILESTRING define
Bruce Momjian [Mon, 19 Jun 2000 13:35:30 +0000 (13:35 +0000)]
fix HAVE_SQLGETPRIVATEPROFILESTRING define

24 years agoClean up bogosities in pg_opclass, pg_amop, pg_amproc. There are amproc
Tom Lane [Mon, 19 Jun 2000 03:55:01 +0000 (03:55 +0000)]
Clean up bogosities in pg_opclass, pg_amop, pg_amproc.  There are amproc
entries now for int8 and network hash indexes.  int24_ops and int42_ops
are gone.  pg_opclass no longer contains multiple entries claiming to be
the default opclass for the same datatype.  opr_sanity regress test
extended to catch errors like these in the future.

24 years agoLinux/alpha patch.
Bruce Momjian [Mon, 19 Jun 2000 00:51:23 +0000 (00:51 +0000)]
Linux/alpha patch.

24 years agoReimplement nodeMaterial to use a temporary BufFile (or even memory, if the
Tom Lane [Sun, 18 Jun 2000 22:44:35 +0000 (22:44 +0000)]
Reimplement nodeMaterial to use a temporary BufFile (or even memory, if the
materialized tupleset is small enough) instead of a temporary relation.
This was something I was thinking of doing anyway for performance, and Jan
says he needs it for TOAST because he doesn't want to cope with toasting
noname relations.  With this change, the 'noname table' support in heap.c
is dead code, and I have accordingly removed it.  Also clean up 'noname'
plan handling in planner --- nonames are either sort or materialize plans,
and it seems less confusing to handle them separately under those names.

24 years agoSeparated set constraints and set transaction reference pages, revised set
Peter Eisentraut [Sun, 18 Jun 2000 21:24:54 +0000 (21:24 +0000)]
Separated set constraints and set transaction reference pages, revised set
reference page to new configuration system. Big update to administrator's
guide, chapters Runtime environment, Client authentication, and User
management, the latter two were part of the old Security chapter.

24 years agoReinstate BufFileTell().
Tom Lane [Sun, 18 Jun 2000 03:11:40 +0000 (03:11 +0000)]
Reinstate BufFileTell().

24 years agoGet rid of IndexIsUniqueNoCache() kluge by the simple expedient of
Tom Lane [Sat, 17 Jun 2000 23:41:51 +0000 (23:41 +0000)]
Get rid of IndexIsUniqueNoCache() kluge by the simple expedient of
passing the index-is-unique flag to index build routines (duh! ...
why wasn't it done this way to begin with?).  Aside from eliminating
an eyesore, this should save a few milliseconds in btree index creation
because a full scan of pg_index is not needed any more.

24 years agoFix performance problems with pg_index lookups (see, for example,
Tom Lane [Sat, 17 Jun 2000 21:49:04 +0000 (21:49 +0000)]
Fix performance problems with pg_index lookups (see, for example,
discussion of 5/19/00).  pg_index is now searched for indexes of a
relation using an indexscan.  Moreover, this is done once and cached
in the relcache entry for the relation, in the form of a list of OIDs
for the indexes.  This list is used by the parser and executor to drive
lookups in the pg_index syscache when they want to know the properties
of the indexes.  Net result: index information will be fully cached
for repetitive operations such as inserts.

24 years agoClean out another pocket of functions called via nonspecific function
Tom Lane [Sat, 17 Jun 2000 04:56:39 +0000 (04:56 +0000)]
Clean out another pocket of functions called via nonspecific function
pointers, namely the catcache tuple fetch routines.  Also get rid of
the unused and possibly confusing 'size' field in struct cachedesc.
Since it doesn't allow for variable-length fields, anyone who
actually trusted it would likely be making a mistake...

24 years agoRemove fmgrstamp-h business -- not needed and confusing
Peter Eisentraut [Sat, 17 Jun 2000 00:10:40 +0000 (00:10 +0000)]
Remove fmgrstamp-h business -- not needed and confusing

Add options to configure to automatically build for Kerberos
support; no more editing of make files.

24 years agoCleanup README Makefile installs.
Bruce Momjian [Fri, 16 Jun 2000 18:59:30 +0000 (18:59 +0000)]
Cleanup README Makefile installs.

24 years agoRepair unforgivably brain-dead representation of CaseExpr nodes in
Tom Lane [Fri, 16 Jun 2000 05:27:03 +0000 (05:27 +0000)]
Repair unforgivably brain-dead representation of CaseExpr nodes in
stored rules.  Bump catversion to reflect incompatibility.

24 years agoRemove old doc files, now README.
Bruce Momjian [Thu, 15 Jun 2000 19:08:37 +0000 (19:08 +0000)]
Remove old doc files, now README.

24 years agoAdd missing /contrib files to CVS.
Bruce Momjian [Thu, 15 Jun 2000 19:05:22 +0000 (19:05 +0000)]
Add missing /contrib files to CVS.

24 years ago/contrib patch from Karel.
Bruce Momjian [Thu, 15 Jun 2000 18:55:34 +0000 (18:55 +0000)]
/contrib patch from Karel.

24 years agoUpdate TODO list.
Bruce Momjian [Thu, 15 Jun 2000 13:54:51 +0000 (13:54 +0000)]
Update TODO list.

24 years agoRepair Large Object bugs demonstrated by Ian Grant's example. inv_write
Tom Lane [Thu, 15 Jun 2000 06:07:34 +0000 (06:07 +0000)]
Repair Large Object bugs demonstrated by Ian Grant's example.  inv_write
was inappropriately relying on rel->rd_nblocks to tell if the LO is
empty (apparently a hack to get around a long-dead index bug), causing
misbehavior on a written-but-never-vacuumed LO.  Also, inv_read failed
to cope gracefully with 'holes' (unwritten regions) in the object.

24 years agoFinal #include cleanup.
Bruce Momjian [Thu, 15 Jun 2000 04:10:30 +0000 (04:10 +0000)]
Final #include cleanup.

24 years agoClean up #include's.
Bruce Momjian [Thu, 15 Jun 2000 03:33:12 +0000 (03:33 +0000)]
Clean up #include's.

24 years ago#include cleanups
Bruce Momjian [Thu, 15 Jun 2000 00:52:26 +0000 (00:52 +0000)]
#include cleanups

24 years agoUpdate include cleaning scripts.
Bruce Momjian [Wed, 14 Jun 2000 22:33:06 +0000 (22:33 +0000)]
Update include cleaning scripts.

24 years agoUpdate include scripts
Bruce Momjian [Wed, 14 Jun 2000 22:28:16 +0000 (22:28 +0000)]
Update include scripts

24 years agoAdd () around define -1.
Bruce Momjian [Wed, 14 Jun 2000 18:59:42 +0000 (18:59 +0000)]
Add () around define -1.

24 years agoBig warnings cleanup for Solaris/GCC. Down to about 40 now, but
Peter Eisentraut [Wed, 14 Jun 2000 18:18:01 +0000 (18:18 +0000)]
Big warnings cleanup for Solaris/GCC. Down to about 40 now, but
we'll get there one day.

Use `cat' to create aclocal.m4, not `aclocal'. Some people don't
have automake installed.

Only run the autoconf rule in the top-level GNUmakefile if the
invoker specified `make configure', don't run it automatically
because of CVS timestamp skew.

24 years agoautoconf
Bruce Momjian [Wed, 14 Jun 2000 17:08:57 +0000 (17:08 +0000)]
autoconf

24 years agoBack out libpgtcl tcl/tksh includes.
Bruce Momjian [Wed, 14 Jun 2000 17:07:31 +0000 (17:07 +0000)]
Back out libpgtcl tcl/tksh includes.

24 years agoRemove -O0 linux ppc flag
Bruce Momjian [Wed, 14 Jun 2000 17:01:35 +0000 (17:01 +0000)]
Remove -O0 linux ppc flag

24 years agoRepair markup to allow clean doc builds.
Thomas G. Lockhart [Wed, 14 Jun 2000 13:12:52 +0000 (13:12 +0000)]
Repair markup to allow clean doc builds.

24 years agoReword to reduce redundant wording in some wording ;)
Thomas G. Lockhart [Wed, 14 Jun 2000 13:12:17 +0000 (13:12 +0000)]
Reword to reduce redundant wording in some wording ;)

24 years agoFix up typos.
Thomas G. Lockhart [Wed, 14 Jun 2000 13:10:48 +0000 (13:10 +0000)]
Fix up typos.
Move "query result" tables to left side of page (remove leading spaces).

24 years agoI had overlooked the fact that some fmgr-callable functions return void
Tom Lane [Wed, 14 Jun 2000 05:24:50 +0000 (05:24 +0000)]
I had overlooked the fact that some fmgr-callable functions return void
--- ie, they're only called for side-effects.  Add a PG_RETURN_VOID()
macro and use it where appropriate.  This probably doesn't change the
machine code by a single bit ... it's just for documentation.

24 years agoFix for memory leak from Denis Perchine
Bruce Momjian [Wed, 14 Jun 2000 04:53:44 +0000 (04:53 +0000)]
Fix for memory leak from Denis Perchine

24 years agoAdd drop detail item.
Bruce Momjian [Wed, 14 Jun 2000 03:33:49 +0000 (03:33 +0000)]
Add drop detail item.

24 years agoAdd type conversion TODO.detail
Bruce Momjian [Wed, 14 Jun 2000 03:30:49 +0000 (03:30 +0000)]
Add type conversion TODO.detail

24 years ago> If read or write fails. Position will left the same. This
Bruce Momjian [Wed, 14 Jun 2000 03:19:24 +0000 (03:19 +0000)]
> If read or write fails. Position will left the same. This
> situation is already tracked in File routines, but a little bit
> incorrectly.

> After small survey in Linux kernel code, I am not sure about
> it.  New patch set pos to unknown in the case of read/write
> fails. And do lseek again.

> Here is the full patch for this. This patch reduce amount of
> lseek call ten ti mes for update statement and twenty times for
> select statement. I tested joined up date and count(*) select
> for table with rows > 170000 and 10 indices.  I think this is
> worse of trying. Before lseek calls account for more than 5% o
> f time.  Now they are 0.89 and 0.15 respectevly.
>
> Due to only one file modification patch should be applied in
> src/backedn/stora ge/file/ dir.

-- Sincerely Yours,
Denis Perchine

24 years agoUpdate TODO list.
Bruce Momjian [Wed, 14 Jun 2000 02:57:08 +0000 (02:57 +0000)]
Update TODO list.