- Sep 20, 2010
-
-
Magnus Hagander authored
-
- Apr 02, 2010
-
-
Tom Lane authored
reasonably promptly, by adding CHECK_FOR_INTERRUPTS in the per-page loops. Tatsuhito Kasahara
-
- Jun 11, 2009
-
-
Bruce Momjian authored
provided by Andrew.
-
- Apr 28, 2009
-
-
Bruce Momjian authored
-
- Apr 01, 2009
-
-
Tom Lane authored
temporary tables of other sessions; that is unsafe because of the way our buffer management works. Per report from Stuart Bishop. This is redundant with the bufmgr.c checks in HEAD, but not at all redundant in the back branches.
-
- Jan 06, 2009
-
-
Tatsuo Ishii authored
-
- Jun 19, 2008
-
-
Alvaro Herrera authored
corresponding struct definitions. This allows other headers to avoid including certain highly-loaded headers such as rel.h and relscan.h, instead using just relcache.h, heapam.h or genam.h, which are more lightweight and thus cause less unnecessary dependencies.
-
- May 17, 2008
-
-
Andrew Dunstan authored
This particular batch was just for *.c and *.h file. The changes were made with the following 2 commands: find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | while read file ; do head -n 1 < $file | grep -q '^/\*' && echo $file; done | xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL:$ \n *' find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | xargs -l sed -i -e '1i/*\n * $PostgreSQL:$ \n */'
-
- May 16, 2008
-
-
Tom Lane authored
-
- May 12, 2008
-
-
Alvaro Herrera authored
unnecessary #include lines in it. Also, move some tuple routine prototypes and macros to htup.h, which allows removal of heapam.h inclusion from some .c files. For this to work, a new header file access/sysattr.h needed to be created, initially containing attribute numbers of system columns, for pg_dump usage. While at it, make contrib ltree, intarray and hstore header files more consistent with our header style.
-
- Mar 26, 2008
-
-
Alvaro Herrera authored
tqual.h into heapam.h. This makes all inclusion of tqual.h explicit. I also sorted alphabetically the includes on some source files.
-
- Mar 21, 2008
-
-
Tom Lane authored
2^31 blocks. Also fix pg_relpages() for the same case. Tatsuhito Kasahara
-
- Jan 14, 2008
-
-
Tom Lane authored
higher than zero. Same problem as just detected in CREATE INDEX CONCURRENTLY.
-
- Nov 15, 2007
-
-
Bruce Momjian authored
-
- Nov 13, 2007
-
-
Bruce Momjian authored
-
- Nov 11, 2007
-
-
Bruce Momjian authored
remove transactions use create or replace function make formatting consistent set search patch on first line Add documentation on modifying *.sql to set the search patch, and mention that major upgrades should still run the installation scripts. Some of these issues were spotted by Tom today.
-
Bruce Momjian authored
-
Bruce Momjian authored
or will never be converted.
-
- Oct 22, 2007
-
-
Tom Lane authored
ITAGAKI Takahiro
-
- Sep 20, 2007
-
-
Tom Lane authored
columns, and the new version can be stored on the same heap page, we no longer generate extra index entries for the new version. Instead, index searches follow the HOT-chain links to ensure they find the correct tuple version. In addition, this patch introduces the ability to "prune" dead tuples on a per-page basis, without having to do a complete VACUUM pass to recover space. VACUUM is still needed to clean up dead index entries, however. Pavan Deolasee, with help from a bunch of other people.
-
- Sep 13, 2007
-
-
Tom Lane authored
than two independent bits (one of which was never used in heap pages anyway, or at least hadn't been in a very long time). This gives us flexibility to add the HOT notions of redirected and dead item pointers without requiring anything so klugy as magic values of lp_off and lp_len. The state values are chosen so that for the states currently in use (pre-HOT) there is no change in the physical representation.
-
- Aug 27, 2007
-
-
Tom Lane authored
but no permissions check at all is certainly no good.) Clean up usage of some deprecated APIs.
-
- Jul 16, 2007
- Jun 27, 2007
-
-
Tom Lane authored
installations whose pg_config program does not appear first in the PATH. Per gripe from Eddie Stanley and subsequent discussions with Fabien Coelho and others.
-
- Jun 07, 2007
-
-
Magnus Hagander authored
from contrib/pgstattuple to pageinspect. We've already fixed English documentation, but Japanese version does not catch up. ITAGAKI Takahiro
-
- May 17, 2007
-
-
Bruce Momjian authored
Moved page-level functions from pgstattuple to contrib/pageinspect.
-
Bruce Momjian authored
Simon and Heikki
-
- May 03, 2007
-
-
Tom Lane authored
pages it intends to zero immediately. Just to show there is some use for that function besides WAL recovery :-). Along the way, fold _hash_checkpage and _hash_pageinit calls into _hash_getbuf and friends, instead of expecting callers to do that separately.
-
- Mar 25, 2007
-
-
Tom Lane authored
pointer" in every Snapshot struct. This allows removal of the case-by-case tests in HeapTupleSatisfiesVisibility, which should make it a bit faster (I didn't try any performance tests though). More importantly, we are no longer violating portable C practices by assuming that small integers are distinct from all pointer values, and HeapTupleSatisfiesDirty no longer has a non-reentrant API involving side-effects on a global variable. There were a couple of places calling HeapTupleSatisfiesXXX routines directly rather than through the HeapTupleSatisfiesVisibility macro. Since these places had to be changed anyway, I chose to make them go through the macro for uniformity. Along the way I renamed HeapTupleSatisfiesSnapshot to HeapTupleSatisfiesMVCC to emphasize that it's only used with MVCC-type snapshots. I was sorely tempted to rename HeapTupleSatisfiesVisibility to HeapTupleSatisfiesSnapshot, but forebore for the moment to avoid confusion and reduce the likelihood that this patch breaks some of the pending patches. Might want to reconsider doing that later.
-
- Mar 16, 2007
-
-
Alvaro Herrera authored
reported in some cases. Report and patch from Tatsuhito Kasahara. Also fix a couple of other bugs I noticed in skimming the surrounding code.
-
- Oct 19, 2006
-
-
Tom Lane authored
per Magnus.
-
- Oct 04, 2006
-
-
Bruce Momjian authored
-
- Sep 04, 2006
-
-
Bruce Momjian authored
-
Tom Lane authored
unportable elog(NOTICE) report, fix install/uninstall sequence. Itagaki Takahiro
-
- Sep 02, 2006
-
-
Bruce Momjian authored
index page contents. Satoshi Nagayasu
-
- Jul 11, 2006
-
-
Bruce Momjian authored
-
- Jul 06, 2006
-
-
Bruce Momjian authored
This is an extension of pgstattuple to query information from indexes. It supports btree, hash and gist. Gin is not supported. It scans only index pages and does not read corresponding heap tuples. Therefore, 'dead_tuple' means the number of tuples with LP_DELETE flag. Also, I added an experimental feature for btree indexes. It checks fragmentation factor of indexes. If an leaf has the right link on the next adjacent page in the file, it is assumed to be continuous (not fragmented). It will help us to decide when to REINDEX. ITAGAKI Takahiro
-
- May 31, 2006
-
-
Tom Lane authored
in every shared library.
-
- Feb 27, 2006
-
-
Peter Eisentraut authored
particular get rid of single quotes around language names and old WITH () construct.
-