Skip to content

PostgreSQL: expect to_char "EEEE must be the last pattern used" error#1323

Merged
mrigger merged 1 commit intomainfrom
fix/postgres-tochar-eeee-error
Apr 12, 2026
Merged

PostgreSQL: expect to_char "EEEE must be the last pattern used" error#1323
mrigger merged 1 commit intomainfrom
fix/postgres-tochar-eeee-error

Conversation

@mrigger
Copy link
Copy Markdown
Contributor

@mrigger mrigger commented Apr 12, 2026

Random format strings fed to to_char (e.g. via md5(...)) can contain "eeee" followed by other characters, which PostgreSQL rejects with ERROR: "EEEE" must be the last pattern used. Add this to the known to_char expected errors so NoREC and similar oracles do not trip on it.

Random format strings fed to to_char (e.g. via md5(...)) can contain
"eeee" followed by other characters, which PostgreSQL rejects with
ERROR: "EEEE" must be the last pattern used. Add this to the known
to_char expected errors so NoREC and similar oracles do not trip on it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mrigger mrigger merged commit ea5365f into main Apr 12, 2026
18 of 26 checks passed
@mrigger mrigger deleted the fix/postgres-tochar-eeee-error branch April 12, 2026 15:18
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