- 23 May, 2000 2 commits
- 22 May, 2000 4 commits
-
-
Bruce Momjian authored
-
Peter Eisentraut authored
-
Bruce Momjian authored
-
Bruce Momjian authored
project I am working on (Recall - a distributed, fault-tolerant, replicated, storage framework @ http://www.fault-tolerant.org). Recall is written in C++. I need to include the postgres headers and there are some problems when including the headers w/C++. Attached is a patch generated from postgres/src that fixes my problems. I was hoping to get this into the main source. It's very small (2k) and 3 files are changed: backend/utils/fmgr/fmgr.c, backend/utils/Gen_fmgrtab.sh.in, and include/access/tupdesc.h. In C++, you get a multiply defined symbol because the variable (FmgrInfo *fmgr_pl_finfo) is defined in the header (the patch moves it to the .c file). The other problem in tupdesc.h is the use of typeid is a problem in c++ (I renamed it to oidtypeid). Thanks, Neal Norwitz
-
- 21 May, 2000 3 commits
-
-
Tom Lane authored
some platforms --- and I also see that it is documented as not thread- safe on HPUX and possibly other platforms. No good reason not to just use IPPROTO_TCP constant from <netinet/in.h> instead.
-
Tom Lane authored
really ought to fix relcache entry construction so that it does not do so much with CurrentMemoryContext = CacheCxt. As is, relatively harmless leaks in either sequential or index scanning translate to permanent leaks if they occur when called from relcache build. For the moment, however, the path of least resistance is to repair all such leaks...
-
Tom Lane authored
defined then statistics about memory usage of all the global memory contexts are printed after each commit.
-
- 20 May, 2000 7 commits
-
-
Tom Lane authored
duplicate global declarations, no points for style at all!)
-
Tatsuo Ishii authored
-
Tatsuo Ishii authored
SJIS UDC (NEC selection IBM kanji) support contributed by Eiji Tokuya
-
Tatsuo Ishii authored
terminate the backend that has no frontend anymore.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 19 May, 2000 4 commits
-
-
Tom Lane authored
an index on a table's OID column. Mea maxima culpa ... but how'd we get through beta with no one noticing this?
-
Bruce Momjian authored
-
Tom Lane authored
Hiroshi. ReleaseRelationBuffers now removes rel's buffers from pool, instead of merely marking them nondirty. The old code would leave valid buffers for a deleted relation, which didn't cause any known problems but can't possibly be a good idea. There were several places which called ReleaseRelationBuffers *and* FlushRelationBuffers, which is now unnecessary; but there were others that did not. FlushRelationBuffers no longer emits a warning notice if it finds dirty buffers to flush, because with the current bufmgr behavior that's not an unexpected condition. Also, FlushRelationBuffers will flush out all dirty buffers for the relation regardless of block number. This ensures that pg_upgrade's expectations are met about tuple on-row status bits being up-to-date on disk. Lastly, tweak BufTableDelete() to clear the buffer's tag so that no one can mistake it for being a still-valid buffer for the page it once held. Formerly, the buffer would not be found by buffer hashtable searches after BufTableDelete(), but it would still be thought to belong to its old relation by the routines that sequentially scan the shared-buffer array. Again I know of no bugs caused by that, but it still can't be a good idea.
-
Tom Lane authored
-
- 18 May, 2000 7 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
PQconnectdb() style connections.
-
Tom Lane authored
RowExclusive (my fault). Also, install a check to prevent people from trying COPY BINARY to stdout/from stdin. No way that will work unless we redesign the frontend COPY protocol ... which is not worth the trouble in the near future ...
-
- 17 May, 2000 6 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
is in <string> and not in <string.h> on QNX4/egcs-2.91.60. Probably this can be changed for all platforms. The test in line 1705 uses <string> as well. Because I am not sure, I havn't this included into the patch. doc/Makefile has to be sligthly modified as it has been done for src/backend/Makefile due to a QNX4 problem (patch attached) Furthermore src/test/regress/run_check.sh needs to be patched as it has been done for regress.sh (patch attached). Please note that in the patch the postmaster is started always with the -i option. run_check.sh reports the test "limit" as failed, but in reallity it is OK. regress.sh reports it as OK. Andreas Kardos
-
Bruce Momjian authored
-
Michael Meskes authored
-
Bruce Momjian authored
-
- 16 May, 2000 5 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
IRIX systems using the native compilers. A summary is: - Various files use "//" as a comment delimiter in c files. - Problems caused by assuming "char" is signed. cash.in: building -signed the rules regression test fails as described in FAQ_QNX4. If CHAR_MAX is "255U" then ((signed char)CHAR_MAX) is -1. postmaster.c: random number regression test failed without this change. - Some generic build issues and warning message cleanup. David Kaelbling
-
Bruce Momjian authored
-
Bruce Momjian authored
Joseph Shraibman
-
Tom Lane authored
just use the portable form, tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz There were a bunch of places that weren't paying attention to configure's result anyway (including configure itself!?); clean them up too.
-
- 15 May, 2000 2 commits
-
-
Peter Mount authored
about the old Driver class, not the new package. Spotted by Joseph Shraibman <jks@p1.selectacast.net>
-
Bruce Momjian authored
-