mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-23 19:27:19 +02:00
free space information is stored in a dedicated FSM relation fork, with each relation (except for hash indexes; they don't use FSM). This eliminates the max_fsm_relations and max_fsm_pages GUC options; remove any trace of them from the backend, initdb, and documentation. Rewrite contrib/pg_freespacemap to match the new FSM implementation. Also introduce a new variant of the get_raw_page(regclass, int4, int4) function in contrib/pageinspect that let's you to return pages from any relation fork, and a new fsm_page_contents() function to inspect the new FSM pages.
25 lines
661 B
Makefile
25 lines
661 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# pageinspect Makefile
|
|
#
|
|
# $PostgreSQL: pgsql/contrib/pageinspect/Makefile,v 1.4 2008/09/30 10:52:09 heikki Exp $
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
MODULE_big = pageinspect
|
|
OBJS = rawpage.o heapfuncs.o btreefuncs.o fsmfuncs.o
|
|
DATA_built = pageinspect.sql
|
|
DATA = uninstall_pageinspect.sql
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/pageinspect
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|
|
|