Skip to content

pg_elephant

Toy example extension exposing a pg_elephant() function that returns ASCII elephant text.

pg_elephant · Toy example extension exposing a pg_elephant() function that returns ASCII elephant text.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
100591pg_elephantpg_elephant1.0FUNCUnknownC

Usage

Sources:

pg_elephant is explicitly a toy PostgreSQL C extension and build example. It installs one demonstration function.

CREATE EXTENSION pg_elephant;
SELECT pg_elephant();

Use it only to verify PGXS compilation, extension packaging, and function loading in a disposable development cluster. It does not provide persistence, caching, audit history, or any production feature despite the “never forgets” slogan.

The README targets old PostgreSQL 9.5 development packages and supplies no current compatibility, maintenance, or security contract. Do not add an example-only native library to production attack surface. If adapting the code as a template, replace names and metadata, add strict input validation, correct volatility/parallel/security markings, regression tests, supported-version CI, an upgrade path, and a real license review before distributing the result.

Table reader