-
Notifications
You must be signed in to change notification settings - Fork 51
Latest changes broke several databases on different servers #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I need more details.
It doesn't seem to be related to anything that pgcompacttable can do. |
That could't be concupiscence because happened on 2 different servers. Both databases broke exactly after pgcompacttable. One of them was restored with REINDEX in PGAdmin4. |
Details are still needed.
Which exactly OID? This is a low level postgresql error. pgcompacttable doesn't do anything at such a low level. We use high-level regular SQL commands only.
Which exactly? |
"ERROR: could not open relation with oid" is from an accounting program 1c: Enterprise. It showed during log-in. I don't have any more information except log from server where database was restored using REINDEX. Log with "SQL error" from a server where I was unable to restore database, is unavailable right now. Few tables where referenced (like they already exist or moved, I can't recall exact phrase). |
Well known, hmm, thing, let's call it that. So you are using a fork and not vanilla postgresql? This definitely needs to be mentioned. In normal PostgreSQL, the error message "could not open relation with oid" contains the exact number. The database server log will also contain text of the query which gives this error. |
If that's useful there is OID number on a broken server On restored server I still have PSQL log and it points to different OID. There's some personal information so I would like to share only essential parts of log (lt has a lot of repeated lines anyway)
|
So I tried previous version 1.0.10 (2020-09-01) with restored (using REINDEX) database [Wed Sep 22 20:56:20 2021] (database_name) It is recommended to set ionice -c 3 for pgcompacttable: ionice -c 3 -p 6340 |
So I tried again version 1.0.10 (2020-09-01) on the proper database (restored from backup) and one again it worked perfectly. Guess I'll just stick with that version for a while... |
Uh oh!
There was an error while loading. Please reload this page.
I used pgcompacttable on Windows with PSQL versions 9.4 and 11 for a long time. Everything went smooth with version from 2020-09-01
Yesterday I tried updated version (2021-09-10) and got few broken databases on different servers.
ERROR: could not open relation with oid
I have log from only one server. At first glance it doesn't have anything interesting, no errors. On a second server log had few "SQL errors" which never occurred before.
Please revert latest changes.
Unfortunately I'm unable to help with further testing and most likely would just use previous version.
Thanks.
The text was updated successfully, but these errors were encountered: