| Commit message (Collapse) | Author | Age |
... | |
| |
|
|
|
|
| |
see that this should be a worse way to fail to open a file than any other.
|
|
|
|
| |
logfile.c wanted ... seems easier to fix BufFileSeek.
|
|
|
|
|
|
|
| |
proc_exit time. I discovered that if the frontend closes the connection
when you're inside a transaction block, there is nothing ensuring that
temp files go away ... I wonder whether proc_exit ought to try to do an
explicit transaction abort?
|
|
|
|
|
|
| |
recycle storage within sort temp file on a block-by-block basis. This
reduces peak disk usage to essentially just the volume of data being
sorted, whereas it had been about 4x the data volume before.
|
|
|
|
|
|
|
|
| |
BufFile so that it handles multi-segment temporary files transparently.
This allows sorts and hashes to work with data exceeding 2Gig (or whatever
the local limit on file size is). Change psort.c to use relative seeks
instead of absolute seeks for backwards scanning, so that it won't fail
when the data volume exceeds 2Gig.
|
|
|
|
| |
It doesn't work currently but also don't break anything -:)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
files to be closed automatically at transaction abort or commit, should
they still be open. Also close any still-open stdio files allocated with
AllocateFile at abort/commit. This should eliminate problems with leakage
of file descriptors after an error. Also, put in some primitive buffered-IO
support so that psort.c can use virtual files without severe performance
penalties.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(HP's cc doesn't like if you forward-declare a routine static,
and then don't make it static in the actual definition...)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Attached you'll find a (big) patch that fixes make dep and make
depend in all Makefiles where I found it to be appropriate.
It also removes the dependency in Makefile.global for NAMEDATALEN
and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh
a little smarter.
This no longer requires initdb.sh that is turned into initdb with
a sed script when installing Postgres, hence initdb.sh should be
renamed to initdb (after the patch has been applied :-) )
This patch is against the 6.3 sources, as it took a while to
complete.
Please review and apply,
Cheers,
Jeroen van Vianen
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
some of the ports...
|
|
|
|
|
|
|
|
|
| |
Makefile.global.
End result, if all goes well, should allow for much easier porting, since
there will no longer be a concept of a "port". Most, if not everything,
*should* be determined by configure, or by the compiler itself. Still
work to be done though :)
|
| |
|
| |
|
| |
|
|
|
|
| |
indenting. Also static variable indenting.
|
| |
|
|
|
|
| |
NOT_USED.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
fdleft = pg_nofile() - allocatedFiles - nfile;
looks more realistic, but too noisy -
fdleft = pg_nofile() - allocatedFiles;
restored.
|
|
|
|
|
| |
2. FreeFile() has to do nothing with nfile (# of files opened
by VFD manager).
|
|
|
|
|
| |
open Nulldev a *bit* more user friendly...or, at least, admin
friendly...have it print strerror(errno) as well
|
| |
|
|
|
|
| |
From: Keith Parks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OK, The votes are in for the NOFILES limit.
With the exception of Next, for which I've not yet heard, all supported platforms
seem to have the sysconf() call.
port supported default Source.
aix yes 2000 darrenk@insightdist.com
alpha yes 4096 mjl@wwx.vip.at
BSD44_derived yes 64 scrappy@hub.org
bsdi yes ??? maillist@candle.pha.pa.us
dgux yes ??? geek@andrew.cmu.edu
hpux yes 60 emkxp01@mtcc.demon.co.uk
i386_solaris yes 64 emkxp01@mtcc.demon.co.uk
irix5 yes 200 martin@biochem.uc.ac.uk
linux yes 256 emkxp01@mtcc.demon.co.uk
next ???? ???
sparc_solaris yes 64 emkxp01@mtcc.demon.co.uk
sunos4 yes 64 emkxp01@mtcc.demon.co.uk
svr4 yes 64 chicks@chicks.net
ultrix4 yes 64 erik@sockdev.uni-c.dk
So here's a patch that I think will do the job.
(I assume Next will have sysconf() but if not just add MISSING_SYSCONF to
the config.h file )
Thanks,
Keith.
|
| |
|
| |
|
|
|
|
| |
feature dependencies. Thanks Kurt J. Lidl.
|
| |
|
| |
|