Skip to content

pokemon

Foreign data wrapper for a Pokemon Red emulator

pokemon · Foreign data wrapper for a Pokemon Red emulator

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
102233pokemonpokemon0.1.0FDWMITRust

PostgreSQL · 10

Usage

Sources:

pokemon 0.1.0 exposes emulator state through foreign tables. It is the PostgreSQL client of PostgresPlaysPokemon, not an emulator running inside PostgreSQL.

Core Workflow

CREATE EXTENSION pokemon;
IMPORT FOREIGN SCHEMA red FROM SERVER red INTO public;
SELECT * FROM party;

Operational Boundaries

The official environment tests PostgreSQL 10 and requires the separate PyBoy-based server, its ROM data and a reachable Unix socket for gRPC. Creating the extension registers pokemon_fdw(), the pokemon wrapper and server red. Importing schema red exposes party, inventory and story: party/story support SELECT and UPDATE, while inventory also supports INSERT. Writes manipulate emulator state. Installation defaults to superuser-only; this historic integration does not establish support for current PostgreSQL majors or a remotely configurable connection.

Table reader