Commit Graph

112 Commits (7d6e28149ea699b28773eefa48acc449b67d6ff4)

Author SHA1 Message Date
Tom Lane bdadc9bf1c Remove RelationGetBufferWithBuffer(), which is horribly confused about 25 years ago
Tom Lane eedb7d18fa Modify RelationGetBufferForTuple() so that we only do lseek and lock 25 years ago
Tom Lane 642107d5ba Avoid unnecessary lseek() calls by cleanups in md.c. mdfd_lstbcnt was 25 years ago
Bruce Momjian 9e1552607a pgindent run. Make it all clean. 25 years ago
Vadim B. Mikheev ab36582a19 Check bufHdr->cntxDirty and call StartBufferIO in BufferSync() 25 years ago
Tom Lane 33cc5d8a4d Change s_lock to not use any zero-delay select() calls; these are just a 25 years ago
Bruce Momjian 623bf843d2 Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 25 years ago
Tom Lane 6ce0ed2813 Make critical sections (elog->crash) and interrupt holdoff sections 25 years ago
Tom Lane 36839c1927 Restructure backend SIGINT/SIGTERM handling so that 'die' interrupts 25 years ago
Tom Lane 6162432de9 Add more critical-section calls: all code sections that hold spinlocks 25 years ago
Tom Lane e2586c3c62 LockBuffer should not elog while holding buffer's cntx_lock. 25 years ago
Tom Lane 7f60b81e1a Fix failure in CreateCheckPoint on some Alpha boxes --- it's not OK to 25 years ago
Vadim B. Mikheev 7ceeeb662f New WAL version - CRC and data blocks backup. 25 years ago
Vadim B. Mikheev 369aace5f3 Avoid XLogFlush for clean buffers in BufferSync. 25 years ago
Vadim B. Mikheev 8247f47fc7 Hope that this is valid localbuf.c version 25 years ago
Vadim B. Mikheev 81c8c244b2 No more #ifdef XLOG. 25 years ago
Tom Lane 680b7357ce Rearrange bufmgr header files so that buf_internals.h need not be 25 years ago
Tom Lane c715fdea26 Significant cleanups in SysV IPC handling (shared mem and semaphores). 25 years ago
Peter Eisentraut 2b1d8bd29a Include postgres.h before checking #ifdef XLOG. 25 years ago
Tom Lane 3908473c80 Make DROP TABLE rollback-able: postpone physical file delete until commit. 25 years ago
Vadim B. Mikheev 5b0740d3fc WAL 26 years ago
Vadim B. Mikheev 4b65a2840b New relcache hash table with RelFileNode as key to be used 26 years ago
Tom Lane 3c5d000749 Fix incorrect logic for clearing BufferDirtiedByMe in ReleaseRelationBuffers 26 years ago
Vadim B. Mikheev a7fcadd10a WAL 26 years ago
Vadim B. Mikheev b58c0411ba redo/undo support functions and cleanups. 26 years ago
Vadim B. Mikheev 2e6358172f I had to change buffer tag: now RelFileNode is used instead of 26 years ago
Vadim B. Mikheev 2c7de17b07 New file naming. Database OID is used as "tablespace" id and 26 years ago
Hiroshi Inoue 5f18e2183e BufferAlloc() doesn't allocate write error buffers. 26 years ago
Hiroshi Inoue 77df055c54 avoid database-wide restart on write error 26 years ago
Tom Lane a8405cfc4d Acquire read lock on a buffer while writing it out, to prevent 26 years ago
Bruce Momjian 20ad43b576 Mark functions as static and ifdef NOT_USED as appropriate. 26 years ago
Tom Lane f923260ec8 Revise FlushRelationBuffers/ReleaseRelationBuffers per discussion with 26 years ago
Bruce Momjian 52f77df613 Ye-old pgindent run. Same 4-space tabs. 26 years ago
Tom Lane 2692d329eb Tweak smgrblindwrt per advice from Vadim: add parameter indicating 26 years ago
Tom Lane 1f6d8b90b8 Buffer manager modifications to keep a local buffer-dirtied bit as well 26 years ago
Tom Lane ca05ba2a9d Get rid of SetBufferWriteMode(), which was an accident waiting to happen. 26 years ago
Tom Lane c40a0a1b52 Marginal performance improvement in LockBuffer --- calculate address 26 years ago
Tom Lane fc8e6c7746 Oops, commited a test version of this file by accident. Revert. 26 years ago
Tom Lane 393f313227 Change parse-time representation of float literals (which include oversize 26 years ago
Hiroshi Inoue 3ca3bb7d8b Fix assert bug(was my fault) 26 years ago
Bruce Momjian 5c25d60244 Add: 26 years ago
Hiroshi Inoue 1500e262b5 Fix for TODO item * spinlock stuck problem when elog(FATAL) 26 years ago
Peter Eisentraut 1cd4c14116 Fixed all elog related warnings, as well as a few others. 26 years ago
Bruce Momjian b78769fda2 Fix it's and its to be correct. 26 years ago
Tom Lane bb203c75a9 Come to think of it, DropBuffers() could have the same problem as 26 years ago
Tom Lane 6b5d8e14b4 ReleaseRelationBuffers() failed to check for I/O in progress on a buffer 26 years ago
Bruce Momjian dc5c7713bc Commit to make clearer distinction for temp names and real names. 26 years ago
Bruce Momjian 86ef36c907 New NameStr macro to convert Name to Str. No need for var.data anymore. 26 years ago
Vadim B. Mikheev 3fea625e9d Make tree compilable (+WAL). 27 years ago
Tom Lane e812458b27 Several changes here, not very related but touching some of the same files. 27 years ago