PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "fmgr.h"
#include "lib/stringinfo.h"
#include "miscadmin.h"
#include "pageinspect.h"
#include "storage/fsm_internals.h"
#include "utils/builtins.h"
Go to the source code of this file.
Functions | |
PG_FUNCTION_INFO_V1 (fsm_page_contents) | |
Datum | fsm_page_contents (PG_FUNCTION_ARGS) |
Datum fsm_page_contents | ( | PG_FUNCTION_ARGS | ) |
Definition at line 35 of file fsmfuncs.c.
References appendStringInfo(), cstring_to_text_with_len(), StringInfoData::data, ereport, errcode(), errmsg(), ERROR, FSMPageData::fp_next_slot, FSMPageData::fp_nodes, get_page_from_raw(), i, initStringInfo(), StringInfoData::len, NodesPerPage, PageGetContents(), PageIsNew(), PG_GETARG_BYTEA_P, PG_RETURN_NULL, PG_RETURN_TEXT_P, and superuser().
PG_FUNCTION_INFO_V1 | ( | fsm_page_contents | ) |