[PATCHES] pgstattuple extension for indexes

2006-06-28 Thread ITAGAKI Takahiro
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 experimenta

Re: [PATCHES] Client build of MSVC6+ patch

2006-06-28 Thread Magnus Hagander
> >> Why do we need to reorder the fields in the struct? > > > Eh? Even my FreeBSD used well shows a structure object. > > The standard lists the fields in the other order: > http://www.opengroup.org/onlinepubs/009695399/basedefs/netdb.h.html > > Even though the standard doesn't say that that ha

Re: [PATCHES] [HACKERS] Non-transactional pg_class, try 2

2006-06-28 Thread Alvaro Herrera
Alvaro Herrera wrote: > Tom Lane wrote: > > Alvaro Herrera <[EMAIL PROTECTED]> writes: > > > What I'm after is not freezing for read-only media, nor archive, nor > > > read-only tables. What I'm after is removing the requirement that all > > > databases must be vacuumed wholly every 2 billion tran

Re: [PATCHES] [HACKERS] Non-transactional pg_class, try 2

2006-06-28 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > This patch has the nasty side effect mentioned above -- people will have > to set template0 as connectable and manually run vacuum on it > periodically, unless they run autovacuum. That's pretty messy --- making template0 connectable is a great way to s