1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-21 16:02:15 +03:00
Commit Graph

40858 Commits

Author SHA1 Message Date
1ee26b7764 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.
2000-06-18 22:44:35 +00:00
2c0edb3c86 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.
2000-06-18 21:24:54 +00:00
b4e906f191 Reinstate BufFileTell(). 2000-06-18 03:11:40 +00:00
edf0b5f0db 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.
2000-06-17 23:41:51 +00:00
d03a933ec5 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.
2000-06-17 21:49:04 +00:00
9cf80f2f55 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...
2000-06-17 04:56:39 +00:00
1652d43358 Remove fmgrstamp-h business -- not needed and confusing
Add options to configure to automatically build for Kerberos
support; no more editing of make files.
2000-06-17 00:10:40 +00:00
b36d31030b Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
648029ec2e Repair unforgivably brain-dead representation of CaseExpr nodes in
stored rules.  Bump catversion to reflect incompatibility.
2000-06-16 05:27:03 +00:00
fca9295fab Remove old doc files, now README. 2000-06-15 19:08:37 +00:00
5683e704d0 Add missing /contrib files to CVS. 2000-06-15 19:05:22 +00:00
f7f177d372 /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
82c4733116 Update TODO list. 2000-06-15 13:54:51 +00:00
a62d8393ef 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.
2000-06-15 06:07:34 +00:00
946e80c435 Final #include cleanup. 2000-06-15 04:10:30 +00:00
df43800fc8 Clean up #include's. 2000-06-15 03:33:12 +00:00
e362d4e1ea #include cleanups 2000-06-15 00:52:26 +00:00
d540a9a6bd Update include cleaning scripts. 2000-06-14 22:33:06 +00:00
8e6697fcd9 Update include scripts 2000-06-14 22:28:16 +00:00
7fe8722295 Add () around define -1. 2000-06-14 18:59:42 +00:00
44d1abebb4 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.
2000-06-14 18:18:01 +00:00
4786a808d9 autoconf 2000-06-14 17:08:57 +00:00
e9ca59fdbc Back out libpgtcl tcl/tksh includes. 2000-06-14 17:07:31 +00:00
2635bef524 Remove -O0 linux ppc flag 2000-06-14 17:01:35 +00:00
0d2a78bf23 Repair markup to allow clean doc builds. 2000-06-14 13:12:52 +00:00
e7112784a1 Reword to reduce redundant wording in some wording ;) 2000-06-14 13:12:17 +00:00
ee7f92b76b Fix up typos.
Move "query result" tables to left side of page (remove leading spaces).
2000-06-14 13:10:48 +00:00
ff7b9f5541 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.
2000-06-14 05:24:50 +00:00
69cd08d9f7 Fix for memory leak from Denis Perchine 2000-06-14 04:53:44 +00:00
dbca64673b Add drop detail item. 2000-06-14 03:33:49 +00:00
95336f037d Add type conversion TODO.detail 2000-06-14 03:30:49 +00:00
a194574dde > 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
2000-06-14 03:19:24 +00:00
434adee656 Update TODO list. 2000-06-14 02:57:08 +00:00
41c4a10906 autoconf 2000-06-14 02:46:44 +00:00
d1b90bfd45 OK, I have tidied up todays (13th) snapshot with the attached patch, I
have'nt r un autoconf to create a new configure, I guess that's done by
the smapshot process, I had to remove a line from interface/odbc/
GNUMakefile to get it to build, it was a autoconf variable that looks to
not be used anymore, I am assuming that this is  ok.

Nick Gorham
Easysoft Ltd
2000-06-14 02:43:46 +00:00
4b3d31c991 Update TODO list. 2000-06-14 02:25:02 +00:00
a13b3f8cb6 add missing files 2000-06-13 12:49:33 +00:00
be0b6c1301 autoconf 2000-06-13 09:17:34 +00:00
81fa9e0e56 in the Directory src/bin/pgtclsh there is a good mechanism to integrate
the
tcl-spec in the Makefile.
The patch in the attachemant does this in the src/interfaces/libpgtcl
too

Thank you
 Rudolf Weber
2000-06-13 09:16:39 +00:00
37ce95c429 Update FAQ. 2000-06-13 08:07:50 +00:00
9c77f4eff4 Update TODO list. 2000-06-13 08:05:41 +00:00
f2d1205322 Another batch of fmgr updates. I think I have gotten all old-style
functions that take pass-by-value datatypes.  Should be ready for
port testing ...
2000-06-13 07:35:40 +00:00
8f057d971d Update TODO list. 2000-06-13 07:11:35 +00:00
6cb6d05456 Brand 7.1 release. Also update jdbc version in release branch. 2000-06-12 22:36:19 +00:00
332f0f5fc0 Rename rule CURRENT to OLD in source tree. Add mapping for backward
compatiblity with old rules.
2000-06-12 19:40:58 +00:00
767e6d17b4 autoconf 2000-06-12 18:08:29 +00:00
b45ea42234 Back out old unixodbc patches and apply new ones. Nick Gorham 2000-06-12 17:58:20 +00:00
b0929c82ac Put back old Makefiles, in pgsql and pgsql/src. 2000-06-12 16:37:22 +00:00
5083a01fec Remove Makefile. Now generated by configure. 2000-06-12 16:05:25 +00:00
aaf19c0e25 Well, pg_dumplo is in attache. It is really simple program and now is not
prepared for dirtribution (it needs a little changes). I can change and work
on this, but I need motivation :-)

And Peter, I know and I agree that standard PG tree is not good space for
all interfaces and for all tools based on PG, but LO is PG feature and we
haven't backup tool for LO.


Karel Zak
2000-06-12 04:01:52 +00:00