countries
countries · Pure-SQL package that creates and seeds a public.countries reference table.
Overview
Usage
Sources:
countries is a database.dev Trusted Language Extension that creates a small lookup table named countries. Despite the package description, the published version 0.0.4 SQL contains only six rows, so it must not be treated as a complete or standards-based country dataset.
Core Workflow
Install the pg_tle prerequisite, use the dbdev CLI to generate a migration for the exact package version, review that generated SQL, and apply it through your normal migration process.
After the migration creates the extension, inspect the table before relying on it.
The published 0.0.4 install script defines one column and these values: Afghanistan, Albania, Algeria, Zambia, Zimbabwe, and India.
Important Objects
public.countries: a table with a singlename text PRIMARY KEYcolumn.pg_extension_config_dump: the install script registerspublic.countriesas extension configuration data so its contents are included by extension-aware dumps.
Operational Notes
This package is distributed through database.dev and requires pg_tle; it is not a conventional native extension archive. Version 0.0.4 hard-codes the public.countries name even if the package is generated with another target schema. The six supplied names have no ISO codes, regions, localized names, lifecycle status, or update mechanism. If an application needs an authoritative country list, use a maintained ISO-derived dataset instead. Treat edits as application data and test dump, restore, and extension-upgrade behavior before changing the seeded rows.