Skip to content

reproduce and document pg_textsearch ResourceOwnerEnlarge bug (issue …#1

Merged
pyramation merged 1 commit into
mainfrom
fix/resource-owner-enlarge-repro
Mar 12, 2026
Merged

reproduce and document pg_textsearch ResourceOwnerEnlarge bug (issue …#1
pyramation merged 1 commit into
mainfrom
fix/resource-owner-enlarge-repro

Conversation

@pyramation
Copy link
Copy Markdown
Contributor

…#247)

Add Jest reproduction test and comprehensive README documenting the ResourceOwnerEnlarge bug in pg_textsearch on PostgreSQL 17+.

Bug: When pg_textsearch is loaded via shared_preload_libraries, any transaction that creates objects via DDL, encounters an error, and then attempts ROLLBACK fails with:
ERROR: ResourceOwnerEnlarge called after release started

The test file includes 4 bug reproduction patterns and 3 controls. The README documents the root cause, execution flow, source code references, and proposed fix for pg_textsearch maintainers.

Ref: timescale/pg_textsearch#247

…#247)

Add Jest reproduction test and comprehensive README documenting the
ResourceOwnerEnlarge bug in pg_textsearch on PostgreSQL 17+.

Bug: When pg_textsearch is loaded via shared_preload_libraries, any
transaction that creates objects via DDL, encounters an error, and then
attempts ROLLBACK fails with:
  ERROR: ResourceOwnerEnlarge called after release started

The test file includes 4 bug reproduction patterns and 3 controls.
The README documents the root cause, execution flow, source code
references, and proposed fix for pg_textsearch maintainers.

Ref: timescale/pg_textsearch#247
@pyramation pyramation merged commit 2a1ef72 into main Mar 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant