# opencc 0.1.0: Embedded Chinese conversion dictionaries

> The first pg_opencc source release exposes OpenCC 1.4.2 in UTF8 databases on PG14–18. The SQL extension is named opencc.

---

LLMS index: [llms.txt](/llms.txt)

---

The first pg_opencc source release exposes OpenCC 1.4.2 in UTF8 databases on PG14–18. The SQL extension is named opencc.

**v0\.1\.0 · 2026-11-06**
- [View release](https://github.com/pgsty/pg_opencc/releases/tag/v0.1.0)
- [Source · tar\.gz](https://github.com/pgsty/pg_opencc/archive/refs/tags/v0.1.0.tar.gz)
- [Source · zip](https://github.com/pgsty/pg_opencc/archive/refs/tags/v0.1.0.zip)
- [pgsty\/pg\_opencc](https://github.com/pgsty/pg_opencc)

## Changes {#changes}

| Area | Change | Evidence |
| --- | --- | --- |
| Resources | The shared library embeds 16 configs and 22 dictionaries, and links OpenCC statically. | [CHANGELOG.md](https://github.com/pgsty/pg_opencc/blob/v0.1.0/CHANGELOG.md) |
| SQL | Config wrappers, regional routing, detection and inspection expose conversion steps and ambiguous candidates. | [opencc--0.1.0.sql](https://github.com/pgsty/pg_opencc/blob/v0.1.0/sql/opencc--0.1.0.sql) |
| Operations | Version/dictionary identity, converter preloading and catalog dependency discovery are available. Before tagging, dependency discovery was corrected for PG14 generated columns. | [opencc--0.1.0.sql](https://github.com/pgsty/pg_opencc/blob/v0.1.0/sql/opencc--0.1.0.sql) |

## Dictionary identity {#details}

The embedded resource digest identifies the dictionaries behind immutable conversion results. The initial regression suite includes 556 golden cases from OpenCC.

## Initial measurements {#measurements}

The tagged README records macOS arm64 resident growth of about 6 MB for t2s, 28 MB for s2t and 42 MB for s2twp. For the same 10.8 MiB input, s2t and s2twp took 0.11 s and 0.22 s respectively; 200,000 short rows took 0.14 s and 0.32 s. First use took 2–21 ms depending on the config. [Release measurements](https://github.com/pgsty/pg_opencc/blob/v0.1.0/README.md#behavior-to-know).

## Upgrade notes {#upgrade}

This is the first extension release. After installing its files, enable it in the target UTF8 database.

```sql
CREATE EXTENSION opencc VERSION '0.1.0';
```

## Compatibility {#compatibility}

Release CI covers PG14–18, including checks for generated-column dependencies on PG14.

## Verification {#verification}

Check the tagged evidence: [CHANGELOG.md](https://github.com/pgsty/pg_opencc/blob/v0.1.0/CHANGELOG.md) · [.github/workflows/ci.yml](https://github.com/pgsty/pg_opencc/blob/v0.1.0/.github/workflows/ci.yml) · [test/sql/opencc_ops.sql](https://github.com/pgsty/pg_opencc/blob/v0.1.0/test/sql/opencc_ops.sql) · [test/sql/opencc_upstream.sql](https://github.com/pgsty/pg_opencc/blob/v0.1.0/test/sql/opencc_upstream.sql) · [GitHub release](https://github.com/pgsty/pg_opencc/releases/tag/v0.1.0) · [PG14 dependency fix](https://github.com/pgsty/pg_opencc/commit/b7831dc).

---

Backlinks:

- [Guide](/docs/opencc/guide/)
