You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a copy of a troubleshooting article on Supabase's docs site. It may be missing some details from the original. View the original article.
The error
You'll see this in your database logs:
Error:could not access status of transaction
Detail:Could not open file "pg_xact/[ID]": No such file or directory
Application: PostgREST (shown as PostgREST 13.0.5 or similar)
Command:LISTEN
If you see the first error message without the pg_xact detail, or outside PostgREST, it may be a different issue.
What's happening
This is an upstream Postgres bug but affects PostgREST. The notification queue gets stuck and tries to access old transaction IDs that no longer exist.
This clears the stuck queue. Your Data API will become responsive again, and the errors should stop.
If it happens again
Run the command above again.
If you upgrade to PostgREST v14.8+, the logs will include a HINT that tells you to run SELECT pg_notification_queue_usage();. You can upgrade PostgREST and Postgres in Infrastructure Settings.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
This is a copy of a troubleshooting article on Supabase's docs site. It may be missing some details from the original. View the original article.
The error
You'll see this in your database logs:
could not access status of transactionCould not open file "pg_xact/[ID]": No such file or directoryPostgREST 13.0.5or similar)LISTENIf you see the first error message without the pg_xact detail, or outside PostgREST, it may be a different issue.
What's happening
This is an upstream Postgres bug but affects PostgREST. The notification queue gets stuck and tries to access old transaction IDs that no longer exist.
Fix
Run this command in the SQL editor:
select pg_notification_queue_usage();This clears the stuck queue. Your Data API will become responsive again, and the errors should stop.
If it happens again
Run the command above again.
If you upgrade to PostgREST v14.8+, the logs will include a
HINTthat tells you to runSELECT pg_notification_queue_usage();. You can upgrade PostgREST and Postgres in Infrastructure Settings.All reactions