Skip to content

dump_fcinfo

Dumps the PostgreSQL fcinfo and rsinfo

dump_fcinfo · Dumps the PostgreSQL fcinfo and rsinfo

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101343dump_fcinfodump_fcinfo0.0.1UTILUnknownC

Usage

Sources:

dump_fcinfo — Have you ever wondered what is in fcinfo the FunctionCallInfoBaseData that stores a C function’s context in PostgreSQL. Use it for the corresponding SQL or database utility workflow. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.

Core Workflow

CREATE EXTENSION dump_fcinfo;

SELECT dump_fcinfo();
SELECT * FROM dump_fcinfo();
SELECT * FROM dump_fcinfo() LIMIT 5;
SELECT dump_fcinfo() FROM ( VALUES (1) ) AS t(x);

Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.

Important Objects

  • dump_fcinfo() is an extension function and returns TABLE.

Requirements and Caveats

  • The reviewed control file declares default version 0.0.1.
  • The control file marks the extension as relocatable.
  • Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.

Table reader